Skip to content
This repository
Browse code

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

…changed accordingly (trac ticket 7068)
  • Loading branch information...
commit 1311ba27201c0fb75101931ece6762b1d5ff1837 1 parent c6bfd0a
Normann Lou authored March 27, 2012 chillu committed March 27, 2012

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  javascript/CMSMain.EditForm.js
6  javascript/CMSMain.EditForm.js
@@ -40,7 +40,11 @@
40 40
 						self.val(newVal);
41 41
 						
42 42
 						if(oldVal != newVal) {
43  
-							jQuery.noticeAdd(ss.i18n._t('The URL has been changed'));
  43
+							var confirmMessage = ss.i18n.sprintf(
  44
+								ss.i18n._t('UPDATEURL.CONFIRMURLCHANGED', 'The URL has been changed to\n"%s'), 
  45
+								data.value
  46
+							);
  47
+							jQuery.noticeAdd({'text':confirmMessage});
44 48
 						}
45 49
 					});
46 50
 					

0 notes on commit 1311ba2

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