BUGFIX: Empty error message on renaming a page and confirming url is changed accordingly (trac ticket 7068)

This commit is contained in:
Normann Lou 2012-03-27 17:34:49 +13:00 committed by Ingo Schommer
parent c6bfd0ae42
commit 1311ba2720

View File

@ -40,7 +40,11 @@
self.val(newVal); self.val(newVal);
if(oldVal != newVal) { if(oldVal != newVal) {
jQuery.noticeAdd(ss.i18n._t('The URL has been changed')); var confirmMessage = ss.i18n.sprintf(
ss.i18n._t('UPDATEURL.CONFIRMURLCHANGED', 'The URL has been changed to\n"%s'),
data.value
);
jQuery.noticeAdd({'text':confirmMessage});
} }
}); });