* [refac] remove unused js.

This commit is contained in:
sunhao
2024-08-14 15:06:11 +08:00
committed by 刘刚
parent d5daf799be
commit cfe83d3e48
-12
View File
@@ -24,15 +24,3 @@ window.loadExecutions = function(e)
$picker.$.setValue('');
});
}
window.handleSubmitForm = function(e)
{
const isDraft = $(e.submitter).hasClass('save-draft');
const $showTitle = $('#showTitle');
if(isDraft && !$showTitle.val().length)
{
zui.Modal.alert($showTitle.data('titleHint')).then(() => $showTitle[0].focus());
return false;
}
$(e.target).find('input[name=status]').val(isDraft ? 'draft' : 'normal');
};