Ticket #10984: fix_default_onFailure_callback.diff
| File fix_default_onFailure_callback.diff, 0.5 kB (added by ZenCocoon, 7 months ago) |
|---|
-
src/controls.js
old new 913 913 if (ipe._effect) 914 914 ipe._effect.cancel(); 915 915 }, 916 onFailure: function( transport, ipe) {916 onFailure: function(ipe, transport) { 917 917 alert('Error communication with the server: ' + transport.responseText.stripTags()); 918 918 }, 919 919 onFormCustomization: null, // Takes the IPE and its generated form, after editor, before controls.