mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
js: no console.log. please!
This commit is contained in:
parent
4c9374ccca
commit
d10beb7604
@ -737,7 +737,6 @@
|
|||||||
}
|
}
|
||||||
this.icinga.ui.assignUniqueContainerIds();
|
this.icinga.ui.assignUniqueContainerIds();
|
||||||
|
|
||||||
console.log(origFocus);
|
|
||||||
if (origFocus.length == origFocus[0] !== '') {
|
if (origFocus.length == origFocus[0] !== '') {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$(self.icinga.utils.getElementByDomPath(origFocus)).focus();
|
$(self.icinga.utils.getElementByDomPath(origFocus)).focus();
|
||||||
|
@ -284,10 +284,8 @@
|
|||||||
if (! $element) {
|
if (! $element) {
|
||||||
$element = $(selector);
|
$element = $(selector);
|
||||||
} else {
|
} else {
|
||||||
console.log(selector);
|
|
||||||
$element = $element.children(selector).first();
|
$element = $element.children(selector).first();
|
||||||
if (! $element[0]) {
|
if (! $element[0]) {
|
||||||
console.log("element not existing stopping...");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user