Revision c5851eea
b/ui/templates/machines.html | ||
---|---|---|
426 | 426 |
$("#machine_ram-label")[0].textContent = $("#ram-indicator")[0].value; |
427 | 427 |
$("#machine_storage-label")[0].textContent = $("#storage-indicator")[0].value; |
428 | 428 |
} |
429 |
|
|
430 |
// remove focus from create button |
|
431 |
$("#create").blur(); |
|
429 | 432 |
}); |
430 | 433 |
// if tab is pressed on the next button seek to next page |
431 | 434 |
$(root).live('keydown', function (e) { |
432 |
if ( e.keyCode == 9 ){ |
|
435 |
if ( e.keyCode == 9 || e.keyCode == 13){
|
|
433 | 436 |
if(e.preventDefault) { |
434 | 437 |
e.preventDefault(); |
435 | 438 |
} |
Also available in: Unified diff