]> git.proxmox.com Git - pve-storage.git/commit
Avoid JavaScript gets a string 0.
authorWolfgang Link <w.link@proxmox.com>
Mon, 26 Sep 2016 10:12:47 +0000 (12:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 26 Sep 2016 11:38:56 +0000 (13:38 +0200)
commita9ef8ffb16e24c8e0e956e4333db01c69b876ff5
tree6ba07270829f51c06e8ad4cf1f4a3476e9844aed
parente968c5da4395e9780c5249c94c328acf1e9411a2
Avoid JavaScript gets a string 0.

If the JavaScript gets a "0" it convents it to a boolean false.
So to ensure the GUI always get valid int we cast the values.
PVE/Storage.pm