From 773d5ed82a8f57eb5b7ddc959efe975d413fafc6 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Tue, 3 Jan 2012 18:12:31 +0100 Subject: [PATCH] Feature #992: Improve multiple select for compute creation. (cherry picked from commit cd87c6819ad05414d622d00474d7636434f9a495) --- src/cloud/occi/lib/ui/public/js/plugins/compute.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 6d032fc947..09ee6c434e 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/compute.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/compute.js @@ -710,11 +710,11 @@ function popUpCreateVMDialog(){ $('#network_box option,#disk_box option',dialog).click(function(){ var clicked = $(this).attr('clicked'); if (clicked){//unbold, unmark - $(this).text($(this).text().replace(/\*/g,'')); + $(this).text($(this).text().replace(/✓/g,'')); $(this).removeAttr('clicked'); } else {//bold,mark - $(this).text("*"+$(this).text()+"*"); + $(this).text("✓"+$(this).text()); $(this).attr('clicked','clicked'); } return false;