mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
N°3657 - Replace calls to deprecate jQuery methods (".submit(callback)" to ".on('submit', callback)")
This commit is contained in:
@@ -292,7 +292,7 @@ editor.commands.addCommand({
|
||||
|
||||
|
||||
var editorForm = EditorUtils.getEditorForm(editor);
|
||||
editorForm.submit(function() {
|
||||
editorForm.on('submit', function() {
|
||||
EditorUtils.saveEditorDisplay(editor);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user