Ticket #10984: fix_default_onFailure_callback_and_handleAJAXFailure.diff
| File fix_default_onFailure_callback_and_handleAJAXFailure.diff, 0.7 kB (added by ZenCocoon, 7 months ago) |
|---|
-
src/controls.js
old new 612 612 this.element.innerHTML = this._oldInnerHTML; 613 613 this._oldInnerHTML = null; 614 614 } 615 this.leaveEditMode(); 615 616 }, 616 617 handleFormCancellation: function(e) { 617 618 this.wrapUp(); … … 913 914 if (ipe._effect) 914 915 ipe._effect.cancel(); 915 916 }, 916 onFailure: function( transport, ipe) {917 onFailure: function(ipe, transport) { 917 918 alert('Error communication with the server: ' + transport.responseText.stripTags()); 918 919 }, 919 920 onFormCustomization: null, // Takes the IPE and its generated form, after editor, before controls.