nathan
390fbf3608
Dialog work
...
- Switch from LionDialog to SlDialog as base
- First input should get focus
- First button gets set as primary (if no default set), Enter key will act as a click on it
- Escape key closes dialog
2022-11-30 15:59:25 -07:00
Hadi Nategh
36f41a9470
Handle appendTo attribute used in legacy dialog properly
2022-04-28 18:00:37 +02:00
nathan
79fab93351
Fix missing button labels from legacy dialog
2022-03-23 13:42:12 -06:00
nathan
db7c68bdc7
legacy dialog - Fix missing buttons
2022-03-23 13:22:14 -06:00
nathan
6d538f29f0
Fix legacy dialog gave error without parent
2022-03-23 13:02:12 -06:00
nathan
39baec10ab
Add some documentation to legacy dialog
2022-03-23 11:00:41 -06:00
nathan
85e247d4d6
Legacy dialog
...
- Fix load event was not bubbling through to the listener
- Fix value was missing
2022-03-23 09:50:11 -06:00
nathan
3c4f85155d
Get legacy et2_dialog working with createWidget()
2022-03-22 17:21:59 -06:00
nathan
ff471946b5
Make et2_widget_dialog a stub that extends Et2Dialog so 3rd party apps might still work
2022-03-21 09:50:58 -06:00
nathan
2c1f9b2579
WIP on dialog
...
You can try it with
et2_dialog.show_dialog(null, "This is the message", "Title")
2022-03-14 17:07:25 -06:00
Ralf Becker
b2a48fc942
fix vfs-select dialog destroyed et2 session of popup calling it
...
dialog set etemplate_exec_id of popup, to be able to submit to server, but must NOT destroy the et2 session when the dialog closes
et2_dialog now calls etemplate2.clear(true, true) to keep app-object AND et2 session
2021-07-07 16:29:04 +02:00
Hadi Nategh
31c7b87faa
Add splitter.js and make et2_dialog available globally
2021-06-10 14:21:41 +02:00
Ralf Becker
f91bca83e1
got et2 mostly working: timesheet.edit renders
2021-06-07 17:33:53 +02:00
Hadi Nategh
c370941c51
Keep private app objects if dialog gets destroyed
2021-04-20 15:30:46 +02:00
nathangray
50b4067299
Add handling for confirm on button click that better matches normal execution path
...
This works better for buttons that are in a namespace
2021-04-19 10:09:49 -06:00
Hadi Nategh
72c334be02
Allow custom image url for et2_dialog buttons
2021-03-11 12:09:53 +01:00
Hadi Nategh
4e95ac86a8
Add some jquery dialog options
2021-01-14 16:57:28 +01:00
nathangray
9cb143d0d3
Etemplate: Prevent dialogs from destroying parent's request
2020-07-08 11:01:05 -06:00
nathangray
57d03110e4
Etemplate: If long task response is an object, stringify the object so we can see what it says
2020-06-29 14:08:02 -06:00
nathangray
eda34d67b3
Fix some typescript bugs
...
- Don't default dialog width so the automatic calculations run
- Setting etemplate_exec_id after load doesn't work, moved to passing it in. Fixes several file select issues
2020-04-09 14:26:57 -06:00
Hadi Nategh
99a9513236
Fix positon option in et2_dialog widget
2020-04-07 14:51:46 +02:00
Hadi Nategh
e48000d149
Convert vfsSelectUI to TS
2020-02-26 12:19:17 +01:00
Hadi Nategh
d88854b467
Convert et2_widget_file, et2_widget_vfs and fixes couple of definitions in other widgets
2020-02-07 17:41:51 +01:00
Hadi Nategh
c280207de1
Convert et2_widget_image.js to TS and fixes types for show_dialog
2020-02-05 12:55:38 +01:00
Hadi Nategh
5617b6c33d
Fix TS errors on dialog widget
2020-02-04 18:35:46 +01:00
Hadi Nategh
313693a42c
fix attributes in super call
2020-01-29 15:12:44 +01:00
Hadi Nategh
28e4e81478
Fix missing options in et2_dialog
2020-01-29 15:12:43 +01:00
nathangray
bd584dc991
Replace missing widgit registration
2020-01-29 15:12:43 +01:00
Hadi Nategh
1df5124246
Fix et2_dialog TS errors
2020-01-29 15:12:43 +01:00
Hadi Nategh
5302ec5fa4
Convert et2_dialog widget to TS
2020-01-29 15:08:42 +01:00