* [bug #54076, done, 0.2h] fix publish doc error not show.

This commit is contained in:
sunhao
2024-08-16 13:49:52 +08:00
committed by 刘刚
parent dd88fe7c98
commit 060ded5c5e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ formBase
(
setID('docForm'),
set::actions(false),
set::ajax(array('beforeSubmit' => jsRaw($handleSubmitForm), 'onFail' => jsRaw('$("#docForm").addClass("has-changed")'))),
set::ajax(array('beforeSubmit' => jsRaw($handleSubmitForm), 'onFail' => jsRaw('() => $("#docForm").addClass("has-changed")'))),
set::morph(),
setData('unsavedConfirm', $lang->doc->confirmLeaveOnEdit),
on::change('#showTitle,zen-editor')->once()->do('$element.addClass("has-changed")'),