mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Merged old bug, sorry
This commit is contained in:
parent
8dba84e535
commit
77e88b24dd
@ -45,13 +45,16 @@
|
|||||||
* @param {object} data Optional parameters, usually for POST requests
|
* @param {object} data Optional parameters, usually for POST requests
|
||||||
* @param {string} method HTTP method, default is 'GET'
|
* @param {string} method HTTP method, default is 'GET'
|
||||||
*/
|
*/
|
||||||
loadUrl: function (url, $target, data, method, autorefresh = false) {
|
loadUrl: function (url, $target, data, method, autorefresh) {
|
||||||
var id = null;
|
var id = null;
|
||||||
|
|
||||||
// Default method is GET
|
// Default method is GET
|
||||||
if ('undefined' === typeof method) {
|
if ('undefined' === typeof method) {
|
||||||
method = 'GET';
|
method = 'GET';
|
||||||
}
|
}
|
||||||
|
if ('undefined' === typeof autorefresh) {
|
||||||
|
autorefresh = false;
|
||||||
|
}
|
||||||
|
|
||||||
this.icinga.logger.debug('Loading ', url, ' to ', $target);
|
this.icinga.logger.debug('Loading ', url, ' to ', $target);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user