Commit 69f4b94b authored by Leigh B Stoller's avatar Leigh B Stoller

Grey out delete node if only one node. Closes issue #271

parent 49477706
......@@ -1840,6 +1840,12 @@ $(function ()
if (window.APT_OPTIONS.cansnap) {
// Not allowed to delete the last node.
var nodename = Object.keys(hostportList)[0];
$('#listview-row-' + nodename + ' [name=delete]')
// Bind a function to start up ssh for one node topologies.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment