From 4576d001d503118c31441874390890281175b85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 17 Nov 2014 17:49:06 +0100 Subject: [PATCH] Bug #3275: Fix cluster wizard columns --- src/sunstone/public/js/plugins/clusters-tab.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/sunstone/public/js/plugins/clusters-tab.js b/src/sunstone/public/js/plugins/clusters-tab.js index 512ac6c1a4..295b2f6e45 100644 --- a/src/sunstone/public/js/plugins/clusters-tab.js +++ b/src/sunstone/public/js/plugins/clusters-tab.js @@ -74,13 +74,9 @@ function setupCreateClusterDialog(){ dialog.addClass("reveal-modal large max-height").attr("data-reveal", ""); - var opts = { - multiple_choice: true - }; - - setupHostTableSelect(dialog, "cluster_wizard_hosts", opts); - setupVNetTableSelect(dialog, "cluster_wizard_vnets", opts); - setupDatastoreTableSelect(dialog, "cluster_wizard_datastores", opts); + setupHostTableSelect(dialog, "cluster_wizard_hosts", {multiple_choice: true}); + setupVNetTableSelect(dialog, "cluster_wizard_vnets", {multiple_choice: true}); + setupDatastoreTableSelect(dialog, "cluster_wizard_datastores", {multiple_choice: true}); // Handle the Create button $('#create_cluster_submit').click(function(){