Revision 1704ae25 ui/templates/machines.html

b/ui/templates/machines.html
368 368
            osIcon = $('#'+serverID).parent().parent().find('.list-logo');
369 369
            osIcon.attr('os',osIcon.attr('src'));
370 370
            osIcon.attr('src','static/progress.gif');
371
            if (action[0] == shutdown) {
372
                $('#' + serverID).parent().parent().find('span.status').text('Shutting down');
373
            } else if (action[0] == start) {
374
                $('#' + serverID).parent().parent().find('span.status').text('Starting');
375
            }
371 376
        }
372 377
        action[0]([serverID]); // execute action
373 378
    }

Also available in: Unified diff