Nathan Gray
77e2849895
Add et2_grid.set_value() to re-create a grid (including auto-repeat).
...
Pass an object with key/value pairs to update the grid's array managers (content,sel_options,readonlys).
The grid will then be re-created (not updated) using the template.
2013-10-18 23:24:49 +00:00
Klaus Leithoff
4dbda94f6a
implement set_class for progress widget; preserve widgets base classes, if we do so
2013-10-18 09:47:29 +00:00
Klaus Leithoff
2435e925ae
implement set_class for progress widget
2013-10-18 08:50:53 +00:00
Nathan Gray
5fab641aef
- Get eroles displaying in element list
...
- Remove unused js file
2013-10-17 17:02:36 +00:00
Nathan Gray
10f3665853
If there is no template specified, resolve immediately
2013-10-17 15:23:33 +00:00
Ralf Becker
056e5680b8
make sure to load all cfs, if "customfield" in in selected columns
2013-10-17 14:08:54 +00:00
Ralf Becker
3124a8c3f3
allow to use "about:*" or urls starting with / in set_value
2013-10-17 13:14:22 +00:00
Nathan Gray
4d35323f52
- More checks for sub-template referred to by partial name
...
- Fix sub-template modifications missed if namespace mismatch
2013-10-16 23:16:29 +00:00
Nathan Gray
d271990b84
Prevent creating multiple sub-widgets if doLoadingFinished() is called more than once (eg in nextmatch header)
2013-10-16 22:39:41 +00:00
Nathan Gray
4002907c05
Use jQuery's Deferred to solve the deferred loading problem instead of load events.
2013-10-16 20:48:05 +00:00
Ralf Becker
f10fc199a0
reverted only binding if onclick method is set to allways bind again (because eg. et2_button needs bind and fails to work) and only setting et2_clickable, if we have an onclick
2013-10-16 15:04:52 +00:00
Ralf Becker
d1a2b89815
only bind click event if we have a handler and add et2_clickable css class so user knows widget is clickable
2013-10-16 09:17:51 +00:00
Ralf Becker
38504680b7
setting CSP attributes needed by CKeditor now automatic when egw_ckeditor_config::get_ckeditor_config(_array) get called
2013-10-14 10:42:36 +00:00
Klaus Leithoff
ceb20da716
fix preset of taglist value
2013-10-14 08:37:49 +00:00
Ralf Becker
6f5207953e
* PostgreSQL/ProjectManager: fixed SQL error "pm_id is ambigues" when accessing /apps/projectmanager via filemanager
...
instead of aliased primary key, we have to use original column incl. table-name as alias is ambigues
2013-10-14 07:53:13 +00:00
Nathan Gray
b77ce6a8dc
- MagicSuggest update
...
- Fix setting taglist value via js
2013-10-11 14:38:04 +00:00
Nathan Gray
f73f8fea89
Update email regex to allow:
...
Nathan Gray <ng.dot@email.com>
2013-10-11 14:35:13 +00:00
Klaus Leithoff
44e995abea
provide a tooltip on vfs select button icon
2013-10-11 13:48:50 +00:00
Klaus Leithoff
78e3371a2b
set action.caption as tooltip, and provide an applicable class for item images
2013-10-11 13:34:35 +00:00
Klaus Leithoff
d961343939
set action.caption as tooltip, and provide an applicable class for item images
2013-10-11 13:34:17 +00:00
Ralf Becker
200c9e55fe
dont replace value&label "" with empty_label, as empty_label is allways added, ignoring it here, to not add it twice
2013-10-11 13:02:22 +00:00
Ralf Becker
c6a97da311
fixed changes in get_rows method were not send back to client, if PHP mcrypt is available / eTemplate request stored on client
2013-10-11 11:20:21 +00:00
Ralf Becker
3c80defe8b
fixed setFilter to correctly return all current filter-values in its 1. parameter this.activeFilters
2013-10-11 09:55:12 +00:00
Nathan Gray
a30b656865
Fully support linking before entry is saved
2013-10-11 08:41:24 +00:00
Nathan Gray
8912d029a4
UI to support links on unsaved entries
2013-10-10 17:00:30 +00:00
Nathan Gray
33a7534299
Include offending widget in attribute type mismatch warning
2013-10-10 14:52:48 +00:00
Nathan Gray
e6f58c4d4b
- Fix value rejecting array
...
- Better handling of no comment (null) on link
2013-10-10 14:43:54 +00:00
Ralf Becker
046aab4000
re-add css class "row" to every grid row to get row-cursor back
2013-10-10 13:37:30 +00:00
Nathan Gray
398a8eed25
Event handler attributes:
...
- default to et2_no_init so they don't get processed if not set
- remove some duplication in attributes
2013-10-10 13:17:07 +00:00
Nathan Gray
0d7f213c7d
No longer need to change onchange here, client side does it
2013-10-10 13:12:33 +00:00
Nathan Gray
22b5ed587f
Improve error message to make sure we get the error message
2013-10-10 12:32:34 +00:00
Nathan Gray
eda4d2a3f6
Some extra resize bits to make sure everything gets resized:
...
- Resize the grid (resizes the column headers)
- Re-initialize the dynheight, just in case something changed
2013-10-10 12:25:29 +00:00
Nathan Gray
09693fc761
Remove inline javascript to file
2013-10-10 11:58:19 +00:00
Nathan Gray
9fe3bda432
- Don't try to translate config
...
- Better error message if destroying CKEDITOR fails
- Handle failing destroy, and make sure widget is completely removed
2013-10-10 11:57:18 +00:00
Ralf Becker
0e2e88c19b
fixed hiearchy display in infolog and reset of subs view via clicking on InfoLog icon/header, using now value of nm[parent_id] as key for col_filter
2013-10-10 11:29:31 +00:00
Ralf Becker
60049dd085
fixed error stalling filemanager: can not read property _parent of undefined
2013-10-10 11:23:32 +00:00
Ralf Becker
24e3fb2e63
fix "Got invalid title request, by NOT sending empty requests" warnings
2013-10-10 10:49:41 +00:00
Ralf Becker
ece1062b8b
fixed not translated empty_label in selectAccount or nextmatchAccountFilter: they always get translated independent of no_lang attribute
2013-10-10 10:23:37 +00:00
Ralf Becker
12717741e4
load app translations on ajax-submit too
2013-10-10 09:32:25 +00:00
Klaus Leithoff
2a61ac9264
allow to pass config/validation rules to current purifying engine (HTMLawed)
2013-10-10 09:30:25 +00:00
Ralf Becker
47c3495a86
appending modification time to eTemplate url
2013-10-10 08:19:20 +00:00
Nathan Gray
f12ab66b07
Ok, changing nextmatch row template via ajax should work now.
2013-10-09 17:33:29 +00:00
Nathan Gray
da6d3d2d19
Also ignore total, or it will reset the normal method of setting it...
2013-10-09 17:32:28 +00:00
Ralf Becker
be0530936c
fixed taglist focus and click events to adhere to new event signature
2013-10-09 17:29:36 +00:00
Nathan Gray
26f75a241b
Make sure context is the widget when calling setters
2013-10-09 17:15:44 +00:00
Nathan Gray
1e8e86fe23
- More consistent firing of load event, so templates can be handled the same if the template has to be fetched or it's already there
...
- Caching of fetched templates in the instance manager
2013-10-09 17:14:59 +00:00
Ralf Becker
f40f41a7d4
set_value now iterates over all radioboxes with same id and (un)checks them depending on given value, DOM-id get now set_value appended to be unique
2013-10-09 16:22:35 +00:00
Nathan Gray
17c933cded
Better handling of binding change handlers to async loaded header templates
2013-10-09 15:14:25 +00:00
Ralf Becker
0163442f37
changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS
2013-10-09 14:35:03 +00:00
Nathan Gray
17e8fa094d
Support changing nextmatch template after initial load (ie: in get_rows callback)
2013-10-09 14:11:44 +00:00