bug 7701: host page - do not switch tab when clicking add primary storage button.

This commit is contained in:
Jessica Wang 2010-12-29 15:11:06 -08:00
parent 9912fe8f09
commit 3e70151dad

View File

@ -601,8 +601,10 @@ function clickClusterArrowAfterAddHost(clusterRadio, podId, newClusterName, exis
function bindAddPrimaryStorageButton($leftmenuItem1) {
var $button = $("#add_primarystorage_button");
$button.unbind("click").bind("click", function(event) {
/*
if($("#tab_content_primarystorage").length > 0 && $("#tab_content_primarystorage").css("display") == "none")
$("#tab_primarystorage").click();
*/
dialogAddPool = $("#dialog_add_pool");
dialogAddPool.find("#info_container").hide();