Merge pull request #175 from erJasp/master

Only change "modified" counter on successful save
This commit is contained in:
Samuel Georges 2014-05-20 09:48:12 +10:00
commit 5511100c6d
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@
updateFormEditorMode($(this).closest('.tab-pane'), false)
if (context.handler == 'onSave') {
if (context.handler == 'onSave' && (!data['X_OCTOBER_ERROR_FIELDS'] && !data['X_OCTOBER_ERROR_MESSAGE'])) {
$(this).trigger('unchange.oc.changeMonitor')
}
})