From 3863a3dbdc9c9c1a33b17452570224aba6a0edd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 17 Nov 2014 18:25:02 +0100 Subject: [PATCH] Bug #3350: Remove cluster -1 from the acl wizard --- src/sunstone/public/js/plugins/acls-tab.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sunstone/public/js/plugins/acls-tab.js b/src/sunstone/public/js/plugins/acls-tab.js index 7a9739d6a4..4e37da5e0f 100644 --- a/src/sunstone/public/js/plugins/acls-tab.js +++ b/src/sunstone/public/js/plugins/acls-tab.js @@ -674,6 +674,9 @@ function popUpCreateAclDialog(){ insertSelectOptions('div#belonging_to', dialog, "Group", null, true); insertSelectOptions('#in_cluster',dialog, "Cluster", null, true); + // Delete cluster -1 option + $('#in_cluster select option[value="-1"]',dialog).remove(); + insertSelectOptions('div#zones_applies', dialog, "Zone", "*", false, '');