mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Cluster page - fix a bug that showed wrong field ("vCenter Datacenter", "vCenter Datastore") in Add Primary Storage dialog.
This commit is contained in:
parent
dd3f184d0e
commit
3b48f866be
@ -19,7 +19,10 @@
|
|||||||
function afterLoadClusterJSP($midmenuItem1) {
|
function afterLoadClusterJSP($midmenuItem1) {
|
||||||
hideMiddleMenu();
|
hideMiddleMenu();
|
||||||
initDialog("dialog_add_host");
|
initDialog("dialog_add_host");
|
||||||
initDialog("dialog_add_pool");
|
|
||||||
|
//add pool dialog
|
||||||
|
initDialog("dialog_add_pool");
|
||||||
|
bindEventHandlerToDialogAddPool($("#dialog_add_pool"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -23,13 +23,11 @@
|
|||||||
$("#top_buttons").appendTo($topButtonContainer);
|
$("#top_buttons").appendTo($topButtonContainer);
|
||||||
|
|
||||||
initDialog("dialog_add_external_cluster");
|
initDialog("dialog_add_external_cluster");
|
||||||
initDialog("dialog_add_host");
|
initDialog("dialog_add_host");
|
||||||
initDialog("dialog_add_pool");
|
|
||||||
initDialog("dialog_add_iprange_to_pod");
|
initDialog("dialog_add_iprange_to_pod");
|
||||||
|
|
||||||
// if hypervisor is KVM, limit the server option to NFS for now
|
//add pool dialog
|
||||||
if (getHypervisorType() == 'kvm')
|
initDialog("dialog_add_pool");
|
||||||
$("#dialog_add_pool").find("#add_pool_protocol").empty().html('<option value="nfs">NFS</option>');
|
|
||||||
bindEventHandlerToDialogAddPool($("#dialog_add_pool"));
|
bindEventHandlerToDialogAddPool($("#dialog_add_pool"));
|
||||||
|
|
||||||
//switch between different tabs
|
//switch between different tabs
|
||||||
|
|||||||
@ -71,8 +71,10 @@ function primarystorageToRightPanel($midmenuItem1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function afterLoadPrimaryStorageJSP($midmenuItem1) {
|
function afterLoadPrimaryStorageJSP($midmenuItem1) {
|
||||||
|
//add pool dialog
|
||||||
initDialog("dialog_add_pool");
|
initDialog("dialog_add_pool");
|
||||||
bindEventHandlerToDialogAddPool($("#dialog_add_pool"));
|
bindEventHandlerToDialogAddPool($("#dialog_add_pool"));
|
||||||
|
|
||||||
initDialog("dialog_confirmation_delete_primarystorage");
|
initDialog("dialog_confirmation_delete_primarystorage");
|
||||||
|
|
||||||
var $primarystorageNode = $selectedSubMenu.parent();
|
var $primarystorageNode = $selectedSubMenu.parent();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user