From ef56986ade2d822cc94792f969326edbcae6b26b Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Mon, 10 Mar 2014 15:01:45 +0100 Subject: [PATCH] Feature #2746: Add sanitize code for create DS dialog --- src/sunstone/public/js/plugins/datastores-tab.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sunstone/public/js/plugins/datastores-tab.js b/src/sunstone/public/js/plugins/datastores-tab.js index 8240e4ec30..d0c51b18a0 100644 --- a/src/sunstone/public/js/plugins/datastores-tab.js +++ b/src/sunstone/public/js/plugins/datastores-tab.js @@ -938,6 +938,10 @@ function setupCreateDatastoreDialog(){ if (limit_mb) ds_obj.datastore.limit_mb = limit_mb; + // Sanitize dialog + $('#ds_use_ssh').prop('checked', false); + $('#tm_use_ssh').prop('checked', false); + Sunstone.runAction("Datastore.create",ds_obj); $create_datastore_dialog.foundation('reveal', 'close')