Ralf Becker
e4dd2e8ff2
- allow to return false in callback to stop dialog from closing
...
- set template-name as id of div, like elsewhere in et2
- allow a beforeClose callback, also trigged if dialog is closed via X (also allows to stop closing via return false)
2016-03-15 21:59:42 +00:00
Ralf Becker
aa31a8705f
fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs
2016-02-29 20:40:43 +00:00
Ralf Becker
db774ece2b
fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation
2015-10-24 11:07:22 +00:00
Hadi Nategh
8d7fc2000b
Send response as second param into callback for long_task dialog
2015-08-11 16:23:34 +00:00
Nathan Gray
ae257d8c98
Set focus to first input when loading a template into dialog
2014-12-03 22:11:24 +00:00
Hadi Nategh
a1285433bd
Add alert method to et2_dialog in order to create alert dialog with optional arguments message, title and dialog type. Additionally, remove an not used argument from et2_dialog.confirm method
2014-07-08 10:29:59 +00:00
Nathan Gray
f5297f17a7
Add a get_value() function to allow access to values outside of callback
2014-04-23 16:44:01 +00:00
Ralf Becker
e30adcba12
indention
2014-04-01 14:14:56 +00:00
Nathan Gray
45303ecb15
Allow template attribute to be the ID of a known template, not just a separate file
2014-02-19 21:57:10 +00:00
Ralf Becker
4f2cc1456e
adding a css class for cancel, delete or yes/no buttons and default background images
2014-02-12 15:18:18 +00:00
Ralf Becker
795cfe3e6f
fix typo stalling insert into eml document
2014-02-10 17:02:54 +00:00
Ralf Becker
f0710fbecb
fixed et2_dialog static methods like confirm did not show translations: injecting an egw object with loaded translations for current app
2014-01-23 10:52:44 +00:00
Nathan Gray
546fb77abb
Fix unable to use only OK button constant
2014-01-20 13:07:11 +00:00
Nathan Gray
6b86050e4e
UI for long running tasks that can be split
...
- Common dialog in et2_dialog
- nextmatch action that runs a menuaction for each selected row
2014-01-16 13:54:19 +00:00
Hadi Nategh
53006083e9
Add confirm method, with fixed YES_NO buttons and submit functionality, which could be exchanged by old javascript confirm() function
2013-12-05 08:53:11 +00:00
Ralf Becker
d7f37f5c2d
fixed not displayed icon, when using et2_dialog.show_dialog(), fixed set_message to allow only plain text
2013-10-03 15:27:00 +00:00
Nathan Gray
5a5b02c304
Remove HTML from title in example - jQueryUI changed to text() so HTML no longer works
2013-08-26 19:10:26 +00:00
Nathan Gray
f4a6c9859a
More fixes forjQuery/jQueryUI update issues
2013-07-20 17:20:55 +00:00
Nathan Gray
f60fa14c30
Wrap loadingFinished() in a try / catch, so if one widget has problems it doesn't break the whole template.
2013-07-20 13:54:31 +00:00
Nathan Gray
2beadad730
Make sure dialog is created before trying to update buttons
2013-07-20 13:05:03 +00:00
Nathan Gray
1b270b2d6f
Use an etemplate / top template level prefix to avoid DOM ID collisions
2013-07-17 13:08:48 +00:00
Nathan Gray
f53a90ccdf
Update in-code documentation to match code
2013-05-21 20:23:35 +00:00
Ralf Becker
78449edd4c
some css for new dialog: left aligning buttons as everywhere in EGroupware, auto-size dialog, static show_prompt method to display a prompt, fixed not working translation of standard buttons
2013-04-23 16:51:00 +00:00
Nathan Gray
516872e322
Fix custom buttons with no template not working
2013-04-22 22:56:55 +00:00
Ralf Becker
a14ede7587
added @memberOf to get outline
2013-04-20 09:51:52 +00:00
Nathan Gray
5555edcb98
Add dialog widget
2013-04-16 18:50:43 +00:00