mirror of https://github.com/apache/cloudstack.git
Fix _hideFields array not hiding add VM button
This commit is contained in:
parent
340b086df4
commit
abbfd74077
|
|
@ -6802,7 +6802,7 @@ div.panel.ui-dialog div.list-view div.fixed-header {
|
|||
text-shadow: 0px 1px #FFFFFF;
|
||||
}
|
||||
|
||||
.multi-edit .disabled .button.custom-action {
|
||||
.multi-edit .disabled .button.add-vm {
|
||||
/*+opacity:50%;*/
|
||||
filter: alpha(opacity=50);
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
|
||||
|
|
|
|||
|
|
@ -139,6 +139,8 @@
|
|||
} else if (field.addButton && !options.noSelect) {
|
||||
if (options.multipleAdd) {
|
||||
$addButton.click(function() {
|
||||
if ($td.hasClass('disabled')) return false;
|
||||
|
||||
_medit.vmList($multi,
|
||||
options.listView,
|
||||
options.context,
|
||||
|
|
@ -147,6 +149,8 @@
|
|||
{
|
||||
multiRule: multiRule
|
||||
});
|
||||
|
||||
return true;
|
||||
});
|
||||
$td.append($addButton);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue