Feature #2746: Add sanitize code for create DS dialog

This commit is contained in:
Tino Vazquez committed 2014-03-11 11:58:31 +01:00
1 parent 97e885d2c8
commit ef56986ade
1 file changed
+4
@@ -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')