Skip to content

Commit 22ec744

Browse files
committed
update
1 parent 9739f7e commit 22ec744

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/assets/backend/js/editor/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ App.editor.editable = function(elem,options) {
14011401
} : null,
14021402
ajaxOptions:{
14031403
dataType: 'json',
1404-
type: 'POST',
1404+
type: options && typeof options == 'object' && 'method' in options ? options.method : 'POST',
14051405
success: function(r){
14061406
if(r.Code!=1) {
14071407
if(errorCallback && errorCallback.call(this,r)) return;

0 commit comments

Comments
 (0)