disabled = "disabled=\"disabled\"";
}
- $("#"+item.map).remove();
+ $("#" + item.map).remove();
$("<form class=\"form-horizontal form-map\" method=\"post\" action=\"savemap\" data-type=\"map\" id=\"" +
item.map + "\" style=\"display:none\">" +
"<textarea class=\"list-textarea\"" + disabled + ">" + text +
},
columns: [
{name: "label", title: "Action"},
- {name: "value", title: "Messages", defaultContent: ""},
- {name: "min", title: "Minimum, " + unit, defaultContent: ""},
- {name: "avg", title: "Average, " + unit, defaultContent: ""},
- {name: "max", title: "Maximum, " + unit, defaultContent: ""},
- {name: "last", title: "Last, " + unit},
+ {name: "value", title: "Messages", defaultContent: ""},
+ {name: "min", title: "Minimum, " + unit, defaultContent: ""},
+ {name: "avg", title: "Average, " + unit, defaultContent: ""},
+ {name: "max", title: "Maximum, " + unit, defaultContent: ""},
+ {name: "last", title: "Last, " + unit},
],
rows: rows
});
var full = shrt = "";
if (smtp) {
full = "[" + item.rcpt_smtp.join(", ") + "] ";
- shrt = "[" + item.rcpt_smtp.slice(0, rcpt_lim).join(",​") + more("rcpt_smtp") + "]";
+ shrt = "[" + item.rcpt_smtp.slice(0, rcpt_lim).join(",​") + more("rcpt_smtp") + "]";
if (mime) {
full += " ";
shrt += " ";
stopTimers();
if (tab_id === "#refresh") {
- tab_id = "#" + $(".navbar-nav .active > a" ).attr("id");
+ tab_id = "#" + $(".navbar-nav .active > a").attr("id");
}
switch (tab_id) {
url: window.location.href
}
};
- } else {
+ } else {
neighbours = data;
}
var neighbours_status = [];
"<td class=\"col4\" title=\"SStatus\"><span class=\"icon\"><i class=\"" + glyph_status + "\"></i></span></td>" +
"<td class=\"col5\" title=\"short_id\">" + short_id + "</td></tr>");
- $("#selSrv").append( $("<option value=\"" + key + "\">" + key + "</option>"));
+ $("#selSrv").append($("<option value=\"" + key + "\">" + key + "</option>"));
if (checked_server == key) {
$("#clusterTable tbody [value=\"" + key + "\"]").prop("checked", true);