mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #992: Improve multiple select for compute creation.
(cherry picked from commit cd87c6819ad05414d622d00474d7636434f9a495)
This commit is contained in:
parent
180c9bdda4
commit
773d5ed82a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user