Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions statics/plugins/x-editable/js/bootstrap-editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -2091,12 +2091,12 @@ Makes editable any HTML element on the page. Applied as jQuery method.
};
}

// ajax success callabck (response 200 OK)
// ajax success callback (response 200 OK)
ajaxOptions.success = typeof config.success === 'function' ? function(response) {
config.success.call($elems, response, config);
} : $.noop;

// ajax error callabck
// ajax error callback
ajaxOptions.error = typeof config.error === 'function' ? function() {
config.error.apply($elems, arguments);
} : $.noop;
Expand Down Expand Up @@ -6804,4 +6804,4 @@ Automatically shown in inline mode.

$.fn.editabletypes.datetimefield = DateTimeField;

}(window.jQuery));
}(window.jQuery));