Merge remote-tracking branch 'staabm/error_handler'

master
Jordi Boggiano 12 years ago
commit 06d33c349e
  1. 6
      php-console.js

@ -76,6 +76,11 @@
});
};
handleAjaxError = function(event, jqxhr, settings, exception) {
$('div.output').html("<em>Error occured while posting your code.</em>");
refreshKrumoState();
};
initializeAce = function() {
var PhpMode, code;
@ -120,6 +125,7 @@
$(function() {
$(document).ready(initializeAce);
$(document).ajaxError(handleAjaxError);
$('form').submit(handleSubmit);
});

Loading…
Cancel
Save