Alissa Bonas has uploaded a new change for review. Change subject: Make 'create docker VM' button always enabled ......................................................................
Make 'create docker VM' button always enabled Before this change, the button was enabled only when none of the VMs were selected, which is the case only when the grid is opened. It should have the same behavior as 'create VM' button which is always enabled. Change-Id: I1d2b3e6f6d05cfdbaf93f0694dbe6ab13f3aeaf1 Signed-off-by: Alissa Bonas <[email protected]> --- M docker-plugin/docker-resources/plugin.html 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/samples-uiplugins refs/changes/66/27666/1 diff --git a/docker-plugin/docker-resources/plugin.html b/docker-plugin/docker-resources/plugin.html index 83cf229..5a0e89b 100644 --- a/docker-plugin/docker-resources/plugin.html +++ b/docker-plugin/docker-resources/plugin.html @@ -111,7 +111,7 @@ api.addMainTabActionButton('VirtualMachine', 'Create Docker VM', { isEnabled: function() { - return arguments.length == 0; + return true; }, onClick: function() { api.showDialog('Create Docker VM', 'launch-docker', -- To view, visit http://gerrit.ovirt.org/27666 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1d2b3e6f6d05cfdbaf93f0694dbe6ab13f3aeaf1 Gerrit-PatchSet: 1 Gerrit-Project: samples-uiplugins Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
