Nathan Gray
df660bea3c
Better handling of doLoadingFinished and firing load event:
...
- don't fire while still loading
- prevent trying to load children before template is actually loaded from file
2013-10-09 14:10:33 +00:00
Nathan Gray
daf55af475
Don't try to resize if the columns are not set yet - there's nothing to resize
2013-10-09 14:05:05 +00:00
Nathan Gray
d22489e23b
Make sure callback is there before trying to call it. If the template changes before the timeout fires, it might not be.
2013-10-09 13:07:29 +00:00
Nathan Gray
fde83c834e
Register an AJAX handler for assign response type. Needs exec_id, widget ID, attribute name and value. Widget must support setting that attribute.
2013-10-09 12:56:49 +00:00
Nathan Gray
bfe208c013
Make sure favorite group widget gets cleaned up
2013-10-09 12:14:36 +00:00
Ralf Becker
3c0743cb97
implemented onfocus event for input-widgets, tested with textbox and taglist, others more complex input-widgets probably need to proxy the event
2013-10-09 09:05:30 +00:00
Ralf Becker
f46754cd1a
remove href="javascript:void(0)" in favor of href="#" working with CSP
2013-10-08 10:08:09 +00:00
Ralf Becker
bafcc80e35
fixed translations not loaded on very first request, as postponing ready for waiting on translations did not work, now using a direct callback instead
2013-10-08 08:55:15 +00:00
Nathan Gray
1a4a4fdded
Always set value, not just title, in nextmatch so link gets updated
2013-10-08 08:26:59 +00:00
Nathan Gray
3816abc7a7
Fix %s in label of link widget
2013-10-08 08:19:42 +00:00
Nathan Gray
5c8c51c77d
Always set label, avoids label not being set properly in nextmatch
2013-10-08 08:14:24 +00:00
Nathan Gray
52f269717e
Fix %s in labels in nextmatch rows
2013-10-08 07:46:44 +00:00
Ralf Becker
0bb8093426
fixed translations on client-side: server sends now currentapp and langRequire to client, which uses that to translate phrases, langRequire is only stored in egw object for matching app-name and window!
2013-10-07 17:00:03 +00:00
Ralf Becker
b7d6d4266e
quite some warning
2013-10-07 16:11:25 +00:00
Nathan Gray
764bde5bff
Fix broken set_value() to properly accept strings as value, fix broken adding of free entries
2013-10-07 10:10:54 +00:00
Nathan Gray
a190cd7302
Remove javascript:void() href to comply with CSP
2013-10-07 10:05:51 +00:00
Nathan Gray
869ebc3ca5
- Respect force_mailto preference
...
- If force_mailto is not set, open in a new window instead of current
2013-10-07 09:48:17 +00:00
Hadi Nategh
54ab073cab
Fix et2_checkbox_ro widget for exceptional cases when we pass value as Non-Boolean
2013-10-05 14:04:10 +00:00
Nathan Gray
9b9a1df8a3
Use egw.open_link() to open popups so they can be tracked, if they have a target.
2013-10-05 09:40:00 +00:00
Ralf Becker
ec2de1c7e6
replace unnecessary post submits with regular ajax submits, also added a couple more todos
2013-10-04 14:43:56 +00:00
Hadi Nategh
da42c28e57
Fix grid with auto-repeat rows
2013-10-04 13:03:58 +00:00
Ralf Becker
6e30816758
fixed not working download via action system: needed submit via POST request instead of Ajax, add new boolean action attribute postSubmit
2013-10-04 12:48:11 +00:00
Nathan Gray
5d1a8e16ee
Fire change event when input is changed via code
2013-10-04 10:07:34 +00:00
Nathan Gray
7cda6a630b
Add a toolbar widget that displays its actions as a toolbar
2013-10-04 07:29:38 +00:00
Nathan Gray
70b8496310
Handle more complicated select_options style options, including icons.
2013-10-04 07:21:19 +00:00
Ralf Becker
dad39e1d8a
moved all confirmation to api egw_actions and changed select_all to depend on all visible rows selected (Ctrl-A)
2013-10-03 15:30:27 +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
ef884aa1cd
Try for a more local parent node than window to get better sizing, explicitly resize child nodes
2013-10-03 12:56:29 +00:00
Nathan Gray
0c0dc2c943
Just re-ordering for better readability
2013-10-03 12:53:58 +00:00
Nathan Gray
3d1bdceaac
Deal with rounding errors etc. so columns always take full width, and some bounds checking in case things go horribly wrong.
2013-10-03 12:52:58 +00:00
Ralf Becker
5778c9d964
fixed egw_framework::message($msg, $msg_type) was not displayed on ajax-load, eg. regular et2 submit
2013-10-03 09:09:24 +00:00
Nathan Gray
499c9f3c22
Avoid infinite heights in case there is nothing below
2013-10-02 13:11:07 +00:00
Nathan Gray
29f8a562e2
Better usage for relative column width:
...
- Columns with relative width specified in template are kept relative in resize
- Columns with no width specified in template get any left over space (relative)
- Columns with fixed width specified in template are kept fixed
These three together mean that if the user resizes the window or adds/removes columns, fixed columns don't change and any space is divided among relative columns.
2013-10-02 12:43:30 +00:00
Nathan Gray
6e8723361d
Fix typos
2013-10-02 11:34:11 +00:00
Nathan Gray
e57e994e9d
Works better if I define the var
2013-10-01 17:07:08 +00:00
Nathan Gray
b6ea2635d2
Handle onchange in the same way as onclick - check if it's a real function first
2013-10-01 17:03:03 +00:00
Nathan Gray
791bf29e60
Some better handling of app.appname.funcname style onclick / onchange when set in the template
2013-10-01 16:52:38 +00:00
Nathan Gray
4449e9a44b
Override the correct function
2013-10-01 15:52:25 +00:00
Nathan Gray
a8136aa191
Give filemanager selection a widget front-end.
2013-10-01 15:40:14 +00:00
Nathan Gray
e2bc78b9e3
Make sure we don't lose widget context
2013-10-01 15:31:11 +00:00
Hadi Nategh
2445bfc22b
Fix the regular expresion to get the right key for nested Ids using [], textbox_widget
2013-10-01 15:06:56 +00:00
Nathan Gray
52d339305e
Default placeholder actions to "add" if not otherwise specified. Allows 'Add' action by default when no records shown in nextmatch.
2013-10-01 07:40:20 +00:00
Nathan Gray
83741673c3
Fix account/group select search dialog
...
- Broken group expansion
- Broken styling / indents
- Use unique IDs & data-id for account ID
2013-09-30 16:54:25 +00:00
Nathan Gray
28c2737c9f
Change multi-select header styling:
...
- Change icons from jQueryUI to egw
- Stop hiding header when not needed, always show
- Don't visually distinguish header
- Don't float right icons, leave them between checkbox and label
2013-09-30 15:39:36 +00:00
Nathan Gray
db1077e3ed
Fix extra change event firing which was breaking multiple file uploads
2013-09-25 15:52:42 +00:00
Nathan Gray
9039200578
- Handle complicated/nested IDs in left/right headers (eg col_filter[tr_tracker])
...
- Handle left/right headers loaded async from server when setting up handlers
2013-09-19 20:39:17 +00:00
Nathan Gray
c19f95ded8
For multiselectboxes, we need to do an array comparison for dirty, or it will always fail (be dirty)
2013-09-19 20:37:17 +00:00
Nathan Gray
3cfbcc8cf1
Trigger a load event when the template is loaded, to make it easier to work with the template when it is loaded from the server
2013-09-19 19:31:56 +00:00
Nathan Gray
1bdd5eb617
Size chosen selectboxes even if they are hidden - prevents 0 width chosen selects
2013-09-18 20:15:11 +00:00
Nathan Gray
8b01daa120
Fix selecting tab by passing in value
2013-09-18 18:01:52 +00:00