diff --git a/src/cloud/occi/lib/ui/public/js/plugins/compute.js b/src/cloud/occi/lib/ui/public/js/plugins/compute.js
index 98256594d4..6a67129b83 100644
--- a/src/cloud/occi/lib/ui/public/js/plugins/compute.js
+++ b/src/cloud/occi/lib/ui/public/js/plugins/compute.js
@@ -894,20 +894,18 @@ function popUpCreateVMDialog(){
$('#network_box,#disk_box',dialog).change(function(){
- $(this).val("");
- return false;
- });
-
- $('#network_box option,#disk_box option',dialog).click(function(){
- var clicked = $(this).attr('clicked');
+ var option = $('option:selected', this);
+ var clicked = option.attr('clicked');
if (clicked){//unbold, unmark
- $(this).text($(this).text().replace(/☒/g,'☐'));
- $(this).removeAttr('clicked');
+ option.text(option.text().replace(/☒/g,'☐'));
+ option.removeAttr('clicked');
}
else {//bold,mark
- $(this).text($(this).text().replace(/☐/g,'☒'));
- $(this).attr('clicked','clicked');
+ option.text(option.text().replace(/☐/g,'☒'));
+ option.attr('clicked','clicked');
}
+
+ $(this).val("");
return false;
});
diff --git a/src/sunstone/public/js/layout.js b/src/sunstone/public/js/layout.js
index 7ebae4c5ad..049e895644 100644
--- a/src/sunstone/public/js/layout.js
+++ b/src/sunstone/public/js/layout.js
@@ -128,7 +128,7 @@ $(document).ready(function () {
applyDefaultStyles: false
, center__paneSelector: ".outer-center"
, west__paneSelector: ".outer-west"
- , west__size: 200
+ , west__size: 210
, north__size: 26
, south__size: 26
, spacing_open: 0 // ALL panes
diff --git a/src/sunstone/public/js/plugins/datastores-tab.js b/src/sunstone/public/js/plugins/datastores-tab.js
index 6e9f886618..931de0179a 100644
--- a/src/sunstone/public/js/plugins/datastores-tab.js
+++ b/src/sunstone/public/js/plugins/datastores-tab.js
@@ -73,8 +73,8 @@ var create_datastore_tmpl =
\
\
\
-
\
- \
+