* code for task #5074.

This commit is contained in:
Catouse
2018-11-20 10:43:18 +08:00
parent 5a74a30ec3
commit 391838d5b5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ $uid = uniqid('');
var pasteBegin = function()
{
$.enableForm(false);
$.enableForm(false, 0, 1);
$('body').one('click.ke' + kuid, function(){$.enableForm(true);});
cmd.inserthtml(imageLoadingEle);
keditor.readonly(true);
@@ -135,7 +135,7 @@ $uid = uniqid('');
if(error === true) error = '<?php echo $this->lang->pasteImgFail;?>';
$.zui.messager.danger(error, {placement: 'center'});
}
$.enableForm(true);
$.enableForm(true, 0, 1);
$('body').off('.ke' + kuid);
$(doc.body).find('.image-loading-ele').remove();
keditor.readonly(false);
+1 -1
View File
File diff suppressed because one or more lines are too long