Commit Graph

10 Commits

Author SHA1 Message Date
Dominik Csapak
31a5025184 pass given defaults in Edit window
this is a port of the change for the Edit window from
pve-manager commit:
ff740ccbeed1e7e2131b14c9ce50f300f24201f6

which passes the given defaults to the items
2018-01-11 14:48:13 +01:00
Dominik Csapak
42a9df8b1f add the missing explanation of onlineHelp 2018-01-11 14:48:13 +01:00
Dominik Csapak
b33f451f98 change 'create' parameter to 'isCreate'
this mirrors the changes from Emmanuel in commit
9af71828d42c67b13144b568eee828b215054399
of pve-manager

where he renamed the 'create' parameter of the Edit Window to
isCreate, to avoid countless jslint errors regarding type confusion

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 11:37:04 +01:00
Dominik Csapak
00ee113714 use Proxmox.window.TaskProgress instead of PVE.window.TaskProgress
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 11:36:22 +01:00
Dominik Csapak
ffea05ec4e add custom submittext to Edit Window
we will use this for the restore window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 11:36:12 +01:00
Dietmar Maurer
c3457485e6 allow to set onlineHelp on Proxmox.window.Edit 2017-10-03 13:17:47 +02:00
Dietmar Maurer
a7dcbdebb9 set default focus and default button for edit window
this patch sets following defaults for the edit window:

defaultFocus: 'field'

sets the focus on the first field it finds in its child items,
works for most edit windows, so that the cursor stands in a
textfield, or on a checkbox

defaultButton: 'submitbutton'

so that when someone presses enter, we submit the form

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-25 06:17:22 +02:00
Dietmar Maurer
a33ba257ed window/Edit.js: implement autoLoad feature 2017-03-29 19:36:13 +02:00
Dietmar Maurer
1b07a95ac8 window/Edit.js: query for inputpanel
Because access to item[0] return the config object (not the real object).
2017-03-28 15:12:22 +02:00
Dietmar Maurer
0669450939 add TimeView, TimeEdit and TaskViewer 2017-01-30 13:40:51 +01:00