Revision 66edd851 ui/templates/standard.html

b/ui/templates/standard.html
150 150
            } else if (action[0] == shutdown) {
151 151
                $(this).parent().parent().find('.status').text('Shutting down');
152 152
                $(this).parent().parent().find('.spinner').show();
153
            }                  
153
            } else if (action[0] == reboot) {
154
                $(this).parent().parent().find('.status').text('Rebooting');
155
                $(this).parent().parent().find('.spinner').show();
156
            }  else if (action[0] == destroy) {
157
                $(this).parent().parent().find('.status').text('Destroying');
158
                $(this).parent().parent().find('.spinner').show();
159
            }                    
154 160
            action[0]([action[1]]); // execute action
155 161
        }
156 162
    }

Also available in: Unified diff