mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Remove window.rhymix_debug_pending_data
This commit is contained in:
parent
a778c46afa
commit
3d64c26232
2 changed files with 5 additions and 7 deletions
|
|
@ -13,6 +13,7 @@ const Rhymix = {
|
|||
addedDocument: [],
|
||||
loadedPopupMenus: [],
|
||||
openWindowList: {},
|
||||
pendingDebugData: [],
|
||||
showAjaxErrors: ['ALL'],
|
||||
unloading: false,
|
||||
modal: {}
|
||||
|
|
@ -470,7 +471,7 @@ Rhymix.ajaxSuccessHandler = function(xhr, textStatus, action, data, params, succ
|
|||
if (window.rhymix_debug_add_data) {
|
||||
window.rhymix_debug_add_data(data._rx_debug);
|
||||
} else {
|
||||
window.rhymix_debug_pending_data.push(data._rx_debug);
|
||||
this.pendingDebugData.push(data._rx_debug);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -750,9 +751,6 @@ Rhymix.IPv6 = window.IPv6;
|
|||
// Alias to XE for backward compatibility
|
||||
const XE = Rhymix;
|
||||
|
||||
// Other global variables
|
||||
window.rhymix_debug_pending_data = [];
|
||||
|
||||
/**
|
||||
* ============================
|
||||
* Document ready event handler
|
||||
|
|
|
|||
|
|
@ -244,9 +244,9 @@ $(function() {
|
|||
}
|
||||
|
||||
// Add debug data from pending AJAX requests.
|
||||
if (window.rhymix_debug_pending_data) {
|
||||
while (window.rhymix_debug_pending_data.length) {
|
||||
rhymix_debug_add_data(window.rhymix_debug_pending_data.shift());
|
||||
if (Rhymix.pendingDebugData) {
|
||||
while (Rhymix.pendingDebugData.length) {
|
||||
rhymix_debug_add_data(Rhymix.pendingDebugData.shift());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue