minor fix
This commit is contained in:
parent
2442336f45
commit
53a2215a41
|
@ -768,13 +768,8 @@ var TreeController = {
|
|||
}
|
||||
|
||||
// Data pop-up
|
||||
if (
|
||||
element.metaID != "undefined" &&
|
||||
!isNaN(element.metaID) &&
|
||||
element.metaID <= 0 &&
|
||||
typeof element.id != "undefined" &&
|
||||
!isNaN(element.id)
|
||||
) {
|
||||
if (typeof element.id != "undefined" && !isNaN(element.id)) {
|
||||
if (isNaN(element.metaID)) {
|
||||
var $dataImage = $(
|
||||
'<img src="' +
|
||||
(controller.baseURL.length > 0
|
||||
|
@ -787,7 +782,9 @@ var TreeController = {
|
|||
|
||||
try {
|
||||
var serverName =
|
||||
element.serverName.length > 0 ? element.serverName : "";
|
||||
element.serverName.length > 0
|
||||
? element.serverName
|
||||
: "";
|
||||
if ($("#module_details_window").length > 0)
|
||||
show_module_detail_dialog(
|
||||
element.id,
|
||||
|
@ -805,6 +802,7 @@ var TreeController = {
|
|||
$content.append($dataImage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Alerts
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue