Revision 29ce2253
b/ui/templates/machines_list.html | ||
---|---|---|
232 | 232 |
return false; |
233 | 233 |
}); |
234 | 234 |
|
235 |
$("#machinesview .list a.enabled#action-details").live('click', function() { |
|
236 |
var checked = $("#machinesview .list table.list-machines tbody input[type='checkbox']:checked"); |
|
237 |
$("#machinesview .list .selected").removeClass('selected'); |
|
238 |
$(this).addClass('selected'); |
|
239 |
pending_actions = []; // reset pending actions |
|
240 |
checked.each(function(i,c) { |
|
241 |
serverID=c.id; |
|
242 |
}); |
|
243 |
$.cookie('server', serverID); |
|
244 |
$('a#single').click(); |
|
245 |
return false; |
|
246 |
}); |
|
247 |
|
|
248 |
|
|
235 | 249 |
function update_machines_view(data){ |
236 | 250 |
/* |
237 | 251 |
Go through the servers in the input data. Update existing entries, add |
... | ... | |
376 | 390 |
|
377 | 391 |
} |
378 | 392 |
|
393 |
|
|
379 | 394 |
function display_success(serverID) { |
380 | 395 |
// do nothing |
381 | 396 |
} |
Also available in: Unified diff