mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Make Add VM Wizard, Add Zone Wizard draggable.
This commit is contained in:
parent
3cbf985f0f
commit
74b464782e
@ -333,7 +333,8 @@ var vmPopupTemplatePageSize = 6; //max number of templates in VM wizard
|
||||
var currentStepInVmPopup = 1;
|
||||
function initVMWizard() {
|
||||
$vmPopup = $("#vm_popup");
|
||||
|
||||
$vmPopup.draggable();
|
||||
|
||||
if (isAdmin() || (getUserPublicTemplateEnabled() == "true")) {
|
||||
$vmPopup.find("#wiz_community").show();
|
||||
}
|
||||
|
||||
@ -1079,7 +1079,9 @@ function closeAddZoneWizard() {
|
||||
}
|
||||
|
||||
function initAddZoneWizard() {
|
||||
var $addZoneWizard = $("#add_zone_wizard");
|
||||
var $addZoneWizard = $("#add_zone_wizard");
|
||||
$addZoneWizard.draggable();
|
||||
|
||||
$addZoneWizard.find("#add_zone_public").unbind("change").bind("change", function(event) {
|
||||
if($(this).val() == "true") { //public zone
|
||||
$addZoneWizard.find("#domain_dropdown_container").hide();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user