Fix bug.
This commit is contained in:
parent
47eef3d78a
commit
9cb62dea77
|
@ -85,7 +85,7 @@
|
||||||
var status_relation = {"starting":"<span style=\"color: skyblue;\">starting</span>","execing":"<span style=\"color: skyblue;\">execing</span>","detecting":"<span style=\"color: skyblue;\">detecting</span>","error":"<span style=\"color: red;\">error</span>","finish": "<span style=\"color: darkseagreen;\">finish</span>","closed":"<span style=\"color: red;\">closed</span>"};
|
var status_relation = {"starting":"<span style=\"color: skyblue;\">starting</span>","execing":"<span style=\"color: skyblue;\">execing</span>","detecting":"<span style=\"color: skyblue;\">detecting</span>","error":"<span style=\"color: red;\">error</span>","finish": "<span style=\"color: darkseagreen;\">finish</span>","closed":"<span style=\"color: red;\">closed</span>"};
|
||||||
function show_exec_commands_block(server_names){
|
function show_exec_commands_block(server_names){
|
||||||
if($("#exec-commands-dialog-confirm").length == 0){
|
if($("#exec-commands-dialog-confirm").length == 0){
|
||||||
var built_in_commands = "<div><ul class='no_list_style'>"
|
var built_in_commands = "<hr style='clear: both;'/><div><ul class='no_list_style'>"
|
||||||
<% render :partial => "get_commands_list" %>
|
<% render :partial => "get_commands_list" %>
|
||||||
var command_trans = <%= @command_trans.to_json.html_safe %>;
|
var command_trans = <%= @command_trans.to_json.html_safe %>;
|
||||||
Object.keys(command_trans).forEach(function(k){
|
Object.keys(command_trans).forEach(function(k){
|
||||||
|
|
Loading…
Reference in New Issue