mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Consoliate all debug-related variables under the Rhymix object
This commit is contained in:
parent
3d64c26232
commit
0f554c6d51
4 changed files with 15 additions and 14 deletions
|
|
@ -13,6 +13,7 @@ const Rhymix = {
|
|||
addedDocument: [],
|
||||
loadedPopupMenus: [],
|
||||
openWindowList: {},
|
||||
currentDebugData: null,
|
||||
pendingDebugData: [],
|
||||
showAjaxErrors: ['ALL'],
|
||||
unloading: false,
|
||||
|
|
@ -468,8 +469,8 @@ Rhymix.ajaxSuccessHandler = function(xhr, textStatus, action, data, params, succ
|
|||
// Add debug information.
|
||||
if (data._rx_debug) {
|
||||
data._rx_debug.page_title = "AJAX : " + action;
|
||||
if (window.rhymix_debug_add_data) {
|
||||
window.rhymix_debug_add_data(data._rx_debug);
|
||||
if (this.addDebugData) {
|
||||
this.addDebugData(data._rx_debug);
|
||||
} else {
|
||||
this.pendingDebugData.push(data._rx_debug);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue