mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Added ability to debug ajax_die() calls (#1023)
This commit is contained in:
parent
c9d223b346
commit
f2fe7d2e0c
5 changed files with 41 additions and 6 deletions
|
@ -343,6 +343,7 @@ Ajax.prototype = {
|
|||
}
|
||||
} else if (response.error_code) {
|
||||
ajax.showErrorMsg(response.error_msg);
|
||||
console.log(response.console_log);
|
||||
$('.loading-1').removeClass('loading-1').html('error');
|
||||
} else {
|
||||
ajax.callback[action](response);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue