Fixes a bug when saving a modified template
When template has been modified outside of the CMS (mtime mismatch). Fixes #2690
This commit is contained in:
parent
08e7fa4296
commit
9f809becca
|
|
@ -318,7 +318,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
CmsPage.prototype.onAjaxError = function(ev, context, data, jqXHR) {
|
||||
CmsPage.prototype.onAjaxError = function(ev, context, message, data, jqXHR) {
|
||||
if (context.handler == 'onSave') {
|
||||
if (jqXHR.responseText == 'mtime-mismatch') {
|
||||
ev.preventDefault()
|
||||
|
|
|
|||
Loading…
Reference in New Issue