]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
override Ext.Components 'validIdRe' to include '@'
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 11 Jul 2019 12:10:30 +0000 (14:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Jul 2019 12:37:24 +0000 (14:37 +0200)
commit312310e0f2d803002cd526ee440fd20693796a50
treef0b6cf73b1231073958057358c46e47c3c0bb412
parent227fb07f0c96264d3b20c58039b14bd2f57128fa
override Ext.Components 'validIdRe' to include '@'

we use itemIds with '@' already in the ceph dashboard, and in
non-debug modeit works (as expected) but throws an error
while using ext-all-debug.js so override it to include the '@'

the regex was in place because in html4 the 'id' tag could only consist
letters ofthe mentioned regex, this was lifted in html5 though[0]

0: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Toolkit.js