new UI - fix a bug that host and primary storage appear more than once when clicking between different left menu.

This commit is contained in:
Jessica Wang 2010-10-18 15:20:57 -07:00
parent ae561edb25
commit a9c82e2bd5
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function buildZoneTree() {
}
});
$("#leftmenu_zone_node_template").bind("click", function(event) {
$("#leftmenu_zone_node_template").unbind("click").bind("click", function(event) {
var template = $(this);
var target = $(event.target);
var action = target.attr("id");