Project

General

Profile

Actions

Bug #27903

closed

ui-spinner does not work when used for volume-templates in compute resource

Added by Markus Bucher about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When using byte_size_f or counter_f in volume-templates for dynamically adding volumes for compute-resources in host creation, the buttons of these elements do not work.

The reason for this is that a template-volume is created and the spinners are initialized.
When a new volume is created on the GUI, the template-volume form is copied as html-string and added to the page, which loses the event-handling.
Calling tfm.numFields.initAll() does not fix it.

Seen in foreman_fog_proxmox

Actions

Also available in: Atom PDF