From f809e98d34f3677198deb269e629b0c2e279fac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 22 Apr 2013 18:28:11 +0200 Subject: [PATCH] Bug #1940: Fix small glitch in DS wizard --- src/sunstone/public/js/plugins/datastores-tab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sunstone/public/js/plugins/datastores-tab.js b/src/sunstone/public/js/plugins/datastores-tab.js index 23f243d82b..3a61b5e790 100644 --- a/src/sunstone/public/js/plugins/datastores-tab.js +++ b/src/sunstone/public/js/plugins/datastores-tab.js @@ -801,8 +801,8 @@ function hide_all(context) $(this).removeAttr('disabled'); }); - $('input[name="ds_tab_custom_ds_mad"]').parent().hide(); - $('input[name="ds_tab_custom_tm_mad"]').parent().hide(); + $('input[name="ds_tab_custom_ds_mad"]', context).parent().hide(); + $('input[name="ds_tab_custom_tm_mad"]', context).parent().hide(); } // Set up the create datastore dialog @@ -837,7 +837,7 @@ function setupCreateDatastoreDialog(){ }); $('#presets').change(function(){ - hide_all($(this).parent()); + hide_all(dialog); var choice_str = $(this).val(); switch(choice_str) {