mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Empty error message on renaming a page and confirming url is changed accordingly (trac ticket 7068)
This commit is contained in:
parent
c6bfd0ae42
commit
1311ba2720
@ -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});
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user