Revision 339712cb ui/templates/list.html
b/ui/templates/list.html | ||
---|---|---|
334 | 334 |
] |
335 | 335 |
}); |
336 | 336 |
|
337 |
// basic functions executed on page load |
|
337 | 338 |
if (images.length == 0) { |
338 | 339 |
// populate image list |
339 | 340 |
update_images(); |
... | ... | |
345 | 346 |
// set the label of the multiple buttons |
346 | 347 |
$('div.confirm_multiple button.yes').text('Confirm'); |
347 | 348 |
$('div.confirm_multiple button.no').text('Cancel'); |
348 |
|
|
349 | 349 |
// reposition multiple confirmation box on window resize |
350 | 350 |
$(window).resize(function(){ |
351 | 351 |
if (this.innerHeight - 200 < $('#machinesview').height()) |
... | ... | |
353 | 353 |
else |
354 | 354 |
$('.confirm_multiple').removeClass('fixed'); |
355 | 355 |
}); |
356 |
|
|
357 | 356 |
// start updating vm list |
358 | 357 |
update_vms(UPDATE_INTERVAL); |
359 | 358 |
|
Also available in: Unified diff