1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/instances/templates
catborise 490b337453 fix(instances): the VM page reloads only when the VM state changes
The VM page polls the VM state every 5 s and reloads when it differs
from the state the page was rendered with. Since the polling moved to
pollWhileVisible, that state was kept in a top-level "var status",
which is not a page variable but the browser's window.status. Where the
browser does not keep a value there, the poll compared the answer with
"" and reloaded the page every 5 s, back to its first tab.

The variable is now vm_status. A Node test runs the page's script with
a window.status that keeps nothing.
2026-10-06 12:27:45 +03:00
..
instances fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00
add_instance_network_block.html change name for network model to nic type 2023-08-17 13:22:18 +03:00
add_instance_owner_block.html logger updates (#31) 2023-08-09 09:20:18 +03:00
add_instance_volume.html logger updates (#31) 2023-08-09 09:20:18 +03:00
allinstances.html fix(instances): host errors on the instance list are for administrators 2026-10-05 11:49:46 +03:00
allinstances_index_grouped.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00
allinstances_index_nongrouped.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00
bottom_bar.html logger updates (#31) 2023-08-09 09:20:18 +03:00
create_flav_block.html logger updates (#31) 2023-08-09 09:20:18 +03:00
create_inst_block.html bootstrap icon conversion fixes 2023-08-11 09:40:38 +03:00
create_instance_w1.html fix(instances): the create wizard reaches the page of any architecture 2026-10-06 10:12:08 +03:00
create_instance_w2.html fix(instances): CD-ROM bus, USB controller and MACs of a new VM 2026-10-04 18:33:28 +03:00
instance.html fix(instances): the VM page reloads only when the VM state changes 2026-10-06 12:27:45 +03:00
instance_actions.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00
instance_state.html fix(instances): every VM state has a label and the actions it allows 2026-10-05 19:34:30 +03:00