Revision 33470701
b/ui/templates/machines_icon.html | ||
---|---|---|
229 | 229 |
|
230 | 230 |
// open console on machine logo click |
231 | 231 |
$("#machinesview-icon.standard .running div.logo").live('click', function(){ |
232 |
if ($(this).parent().parent().find(".connect-arrow:visible").length == 0) { return }; |
|
232 | 233 |
var serverID = $(this).parent().parent().attr("id"); |
233 | 234 |
machine_connect([machine_connect, serverID]); |
234 | 235 |
return false; |
b/ui/templates/machines_single.html | ||
---|---|---|
408 | 408 |
|
409 | 409 |
// connect to machine on machine logo click |
410 | 410 |
$("#machinesview-single.single div.single-image").live('click', function(){ |
411 |
if ($(this).parent().find(".connect-arrow:visible").length == 0) { return }; |
|
411 | 412 |
var serverID = $(this).closest(".single-container").attr("id"); |
412 | 413 |
machine_connect([machine_connect, serverID]); |
413 | 414 |
return false; |
Also available in: Unified diff