Skip to content
Browse files

BUGFIX: Empty error message on renaming a page and confirming url is …

…changed accordingly (trac ticket 7068)
  • Loading branch information...
1 parent c6bfd0a commit 1311ba27201c0fb75101931ece6762b1d5ff1837 @normann normann committed with chillu
Showing with 5 additions and 1 deletion.
  1. +5 −1 javascript/CMSMain.EditForm.js
View
6 javascript/CMSMain.EditForm.js
@@ -40,7 +40,11 @@
self.val(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});
}
});

0 comments on commit 1311ba2

Please sign in to comment.
Something went wrong with that request. Please try again.