mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
UI: Add _reloadUI helper function
Adds a console helper function, which will reinitialize the UI with the current window.cloudStack object. This is used primarily for debugging, so that any changes to the UI structure can be viewed without reloading the browser.
This commit is contained in:
parent
e86f81152f
commit
abbc3b3bc6
@ -456,6 +456,11 @@
|
||||
context: cloudStack.context
|
||||
});
|
||||
});
|
||||
|
||||
window._reloadUI = function() {
|
||||
$('#container').html('');
|
||||
$('#container').cloudStack(window.cloudStack);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user