Revision 9066781c ui/templates/machines.html
b/ui/templates/machines.html | ||
---|---|---|
319 | 319 |
// everything is good |
320 | 320 |
} |
321 | 321 |
} |
322 |
}); |
|
323 |
api.onSeek(function(event, i) { |
|
324 |
// update status bar |
|
325 |
$("#status li").removeClass("active").eq(i).addClass("active"); |
|
326 | 322 |
// update confirm step |
327 | 323 |
if (api.getIndex()==0) { |
328 | 324 |
var image = $("input[type=radio][name=image-id]:checked"); |
... | ... | |
338 | 334 |
$("#machine_storage-label")[0].textContent = $("#storage-indicator")[0].value; |
339 | 335 |
} |
340 | 336 |
}); |
337 |
api.onSeek(function(event, i) { |
|
338 |
// update status bar |
|
339 |
$("#status li").removeClass("active").eq(i).addClass("active"); |
|
340 |
}); |
|
341 | 341 |
// if tab is pressed on the next button seek to next page |
342 | 342 |
$(root).live('keydown', function (e) { |
343 | 343 |
if ( e.keyCode == 9 ){ |
... | ... | |
385 | 385 |
if($(this).is(':checked')) { |
386 | 386 |
$(this).parent().addClass('selecteddiv'); |
387 | 387 |
} |
388 |
|
|
388 | 389 |
}); |
389 | 390 |
|
390 | 391 |
// validate cpu input box |
Also available in: Unified diff