Ralf Becker
8d476dae23
Several fixed to cope better with CalDAVTester:
...
- adding priority=0=undefined to calendar, as it is iCalendar default
- no longer export iCalendar defaults PRIORITY=0, TRANSP=OPAQUE, CLASS=PUBLIC
- assume UTC if no timezone given, unfortunatly Horde_Icalendar currently does not tell UTC or local
- export DURATION instead of DTEND for UTC and duration less or equal 1 day (todo: store if user entered duration in db model, to be able export it as such again)
2015-09-29 10:25:32 +00:00
Hadi Nategh
092cbb5059
Performance improvement:
...
JSON stringify/parsing deep object copy is quite faster than jQuery.extend deep copy, especially in IE
2015-09-07 15:12:45 +00:00
Ralf Becker
f57b4580a5
reverting r53406, r53423: using JSON instead of XML for templates on client-side to improve IE performace, as it did not give any performance improvement
2015-08-20 14:57:18 +00:00
Nathan Gray
ecb972ca66
Etemplate now uses JSON instead of XML for templates on the client side.
...
XML files are parsed into JSON objects on the server, then sent as JSON.
Etemplate parses the JSON object on the client side instead of the XML file directly. This is supposed to be faster for IE.
2015-08-18 17:47:40 +00:00
Nathan Gray
c770021acb
Automatically expand to multiple rows if the option is set and value is multiple so we don't lose part of the value
2015-08-11 22:26:49 +00:00
Nathan Gray
3cf6211c95
Little fixes to avoid some errors:
...
- Make sure widget is still there before trying to set its select options
- Make sure expand button is there before trying to remove it
- Only try to set select options if header widget is a select box
- Pass appropriate options into getEntry() so it can return null on not existing keys
2015-07-09 19:12:13 +00:00
Nathan Gray
64d74252cf
Get cachable select options asyncronously
2015-06-30 21:17:53 +00:00
Ralf Becker
c6bfc44d08
reverting previous commit, as it breaks in other places
2015-04-16 12:10:55 +00:00
Ralf Becker
0b07bccdca
partially revert r52487: as it doublicates some options and changes value of empty label from "" to 0
2015-04-16 12:04:06 +00:00
Nathan Gray
1da6e78def
Modifications to cached options
...
- country list no longer supports options when caching
- copy options to avoid modification with additonal options
2015-04-15 15:56:33 +00:00
Nathan Gray
5cfd583904
Allow applications to add additional options to selectbox type options.
2015-04-13 21:57:46 +00:00
Ralf Becker
fd435043ad
fixed not shown readonly value for numerical values
2015-04-03 14:20:19 +00:00
Ralf Becker
d82f65e95e
reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value
2015-04-03 12:43:26 +00:00
Nathan Gray
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Nathan Gray
3125dcba42
- Fix infinite loop in onchange trigger on selectboxes under some cases
2015-03-31 16:29:15 +00:00
Nathan Gray
6671f4090a
- Fix missing onchange trigger on selectboxes
...
- Avoid loops caused by onchange trigger when applying filters
2015-03-31 16:23:41 +00:00
Nathan Gray
9c28235334
Fix select options with ${row} were not always found
2015-03-25 21:45:57 +00:00
Nathan Gray
99657a094b
After we find a match, no need to keep looking.
2015-03-24 15:18:19 +00:00
Ralf Becker
dff07e68a5
empty-label was not translated if set via (legacy-)options
2015-03-20 19:25:51 +00:00
Ralf Becker
66ecee59a5
fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it
2015-03-19 10:54:29 +00:00
Nathan Gray
6eb5fead04
Fix multiselect/taglist values not properly set if value is an object instead of an array
...
- Fix to handle strings and nulls too
2014-12-08 20:01:15 +00:00
Nathan Gray
68151ad8e7
Fix multiselect/taglist values not properly set if value is an object instead of an array
2014-12-08 18:14:00 +00:00
Nathan Gray
fd191888bb
Fix missing empty label when no value in readonly selectbox
2014-11-24 19:58:59 +00:00
Nathan Gray
84821bef95
- Apply 'none' user selection preference (with admin consideration)
...
- Avoid potential infinite loop with no select options
2014-09-29 20:37:23 +00:00
Ralf Becker
9ca870d1e7
we need to return null for no value instead of empty array, which gets overwritten by preserved value on server-side
2014-09-26 11:25:09 +00:00
Nathan Gray
ff29be3197
Fix history log widget no longer working
2014-08-27 17:13:38 +00:00
Nathan Gray
3176500c83
Refine select option searching when the id is like parent[selectbox].
...
- only search parents when the ID has multiple parts
- fix case when selectbox was in the sel_options arrayMgr, but had no options, parent was used as select options
2014-07-22 21:21:33 +00:00
Ralf Becker
f011a6c3d1
fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!)
2014-07-13 09:14:58 +00:00
Nathan Gray
315a0d4ac0
Pass along width attribute, so it can be passed to chosen
2014-06-09 22:55:39 +00:00
Ralf Becker
2c5ba307b5
convert numbers to string for consistent matching, 0 was never set, because it was treated as already set, which gives wrong result if it is not first option
2014-06-04 09:52:02 +00:00
Nathan Gray
51c73ddf89
Make sure all account options are present. Was on server side, now needs to be client side. See r46713
2014-05-13 18:40:31 +00:00
Nathan Gray
b4b1eee57a
Expand what is accepted as a CSV for multi-select. Fixes Permanent time zone preference does not get saved.
2014-05-12 22:03:38 +00:00
Hadi Nategh
0691903105
Still need to translate empty_label in selectbox widget for cases like when we do have "options" as an extra item for select_options
2014-05-07 13:03:14 +00:00
Hadi Nategh
b3ebc04ae5
Fix missing "translate" sub-attribute for some other widgets "empty_label" attribute.
2014-05-07 12:23:02 +00:00
Nathan Gray
b76ace01f5
Revert r46820 as it causes some widgets (tag list) problems.
...
Fix select account changing selectbox default instead.
2014-05-06 19:56:02 +00:00
Nathan Gray
c99f0ee32d
Fix bug in last select option fallback option, was getting value instead of options
2014-05-05 22:17:23 +00:00
Nathan Gray
4053d1a204
- Move function to find selectbox options to public, static so other widgets (read only selectAccount) can use it
...
- Fix selectAccount missing extra app-specific options
2014-05-05 17:25:01 +00:00
Hadi Nategh
334c66d203
Set select_options for <listbox> widget type of "select-account" with egw->accounts client-side method
2014-04-24 11:49:39 +00:00
Nathan Gray
7a674ff8aa
Don't add empty label as option for tags or search (chosen), it's registered as a real option.
2014-04-22 15:47:22 +00:00
Nathan Gray
7ef65b30d6
Fix expand_multiple_rows button to only be added once
2014-03-25 15:20:05 +00:00
Ralf Becker
f1d7dd7a0e
fixed readonly selecbox not always found options, caused by it not expecting options to be an array. Now we always preserv type of options (array or object) and correctly iterate over them when trying to find an option by its value
2014-03-18 14:41:23 +00:00
Nathan Gray
f337d45b29
Fix taglist-account not suggesting anything by making sure select_options don't get set.
2014-03-17 20:24:34 +00:00
Nathan Gray
ace335415f
Add expand_multiple_rows attribute which adds a button to toggle between single & multiple select
2014-02-24 18:13:54 +00:00
Ralf Becker
ae057bd957
fixed cat-id in nextmatch header of addressbook is in id-order and not alphabetic/hierarchical order
2014-02-18 16:35:54 +00:00
Nathan Gray
565ead7288
Add a comment for why starting at '' - avoids infinite loops in set_value() / set_select_options()
2014-02-05 16:34:32 +00:00
Ralf Becker
3a618c23d9
reverted r45509, as it causes an infinit recursion of set_value calling set_select_options calling set_value and so on
2014-02-04 08:27:26 +00:00
Nathan Gray
cffa002dde
If value is available in init, keep it so it doesn't get cleared by set_select_options()
...
Fixes missing organization name
2014-02-03 20:05:29 +00:00
Ralf Becker
9e29d8b282
docu update to fix ide warnings and indention
2014-01-29 18:55:24 +00:00
Ralf Becker
3a140463e8
fix invalid debug-level "warning", has to be "warn"
2014-01-21 14:39:51 +00:00
Ralf Becker
243f20e98c
fixed handling of optgroups, eg. notification chains in prefs
2014-01-10 07:08:45 +00:00