Dominik Csapak
4c2b424203
fix var assignments
...
only declare 'grid' once
2018-01-11 14:48:13 +01:00
Dominik Csapak
a147a8cbb7
explicit set button focus respecting the 'dangerous' option
...
port commit
4dc6bd326a829d5bf708c4a33722d5a8c6304f9c
from pve-manager
2018-01-11 14:48:13 +01:00
Thomas Lamprecht
0e029e08ef
HelpButton: be backward compatible with PVE help mapping
...
pve-doc-generator used pveOnlineHelp as variable name while the
widget toolkit expects proxmoxOnlineHelp, allow both for now.
As its not quite clear when the switch to the widget toolkit happens
this is more flexible than changing the generator and adding a
versioned build dependency in pve-manager for it.
We normally do not bump pve-docs during releases either.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
CC: Dominik Csapak <d.csapak@proxmox.com>
2017-12-14 15:38:50 +01:00
Dietmar Maurer
a3489b1016
add HelpButton class
2017-09-27 10:04:29 +02:00
Dominik Csapak
3c93b430cd
add baseurl of stdremovebutton to config
...
so that we can bind this
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 09:42:22 +02:00
Dietmar Maurer
6a42adffda
button/Button.js: do not sreach for selection model if selModel === null
...
For Buttons which needs to trigger when nothing is selected.
2017-04-01 17:54:40 +02:00
Dietmar Maurer
81244aa1fe
button/Button.js: make it work with named scopes
...
and add ability to bind to underlying grid automatically if no selModel
specified.
2017-03-28 13:07:10 +02:00
Dietmar Maurer
3c08d49aa1
proxmoxStdRemoveButton: fixup getUrl method - add 'me'
2017-03-27 11:04:27 +02:00
Dietmar Maurer
375c055b9a
proxmoxStdRemoveButton: add getUrl method
2017-03-20 07:31:05 +01:00
Dietmar Maurer
a1d5d0649e
new widget: proxmoxStdRemoveButton
2017-03-20 07:23:16 +01:00
Dietmar Maurer
d1661fde3f
button/Button.js: imported from pve-manager
2017-02-25 14:35:29 +01:00