mirror of https://github.com/apache/cloudstack.git
bug 10264: cloudStack - dashboard - fix a bug that "more" icon didn't work when there were no zones.
This commit is contained in:
parent
31005362a0
commit
ee972db72b
|
|
@ -21,7 +21,13 @@ function afterLoadDashboardJSP() {
|
|||
|
||||
if (isAdmin()) {
|
||||
var $thisTab = showDashboard("dashboard_admin");
|
||||
|
||||
|
||||
$thisTab.find("#general_alerts").find("#more_icon").unbind("click").bind("click", function(event) {
|
||||
$("#leftmenu_events").click();
|
||||
$("#leftmenu_alert").click();
|
||||
return false;
|
||||
});
|
||||
|
||||
var sessionExpired = false;
|
||||
var zones = null;
|
||||
var noZones = false;
|
||||
|
|
@ -201,13 +207,7 @@ function afterLoadDashboardJSP() {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#general_alerts").find("#more_icon").unbind("click").bind("click", function(event) {
|
||||
$("#leftmenu_events").click();
|
||||
$("#leftmenu_alert").click();
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
// Hosts Alerts
|
||||
$.ajax({
|
||||
data: createURL("command=listHosts&state=Alert"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue