Commit 4d66dbb8 authored by Mike Muzurakis's avatar Mike Muzurakis
Browse files

don't accept blank name on server rename, Refs #307

parent a6804f30
......@@ -85,6 +85,9 @@ $(".rename, h5.editable").live('click', function() {
$(".editbuttons .save").live('click', function() {
serverID = $(this).closest('.machine').attr("id");
serverName = $(this).parent().parent().find('.name').find('.nametextbox').val();
if (serverName.trim() == ''){
return false;
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