Ralf Becker
25351aa53b
fixed typeOptions were not added, if selectbox had no explicit type attribute: eg. <select-account
2014-03-18 11:39:03 +00:00
Ralf Becker
44fc850d75
ignoring $row not only for "nm" namespace and fixed IDE warnings
2014-03-03 15:55:05 +00:00
Ralf Becker
2955e89bbe
quitened permanent error_log
2014-02-24 11:55:25 +00:00
Nathan Gray
c735663346
Work in progress of straightening out the user selection options
2014-02-20 00:35:07 +00:00
Nathan Gray
9b84be6d01
Fix some group selections showing accounts instead
2014-02-19 21:54:48 +00:00
Nathan Gray
c1689c7328
Fix account selection missing members of non-primary groups
2014-02-18 22:36:22 +00:00
Nathan Gray
aca00c49f7
Fix account selection did not contain primary group members
...
Was visible in infolog list account filter headers
2014-02-18 22:08:15 +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
e314011e88
Harmonize readonlys processing, fixes some fields in grids not validating if other rows were read-only.
...
- Change server-side get_array() to return null if not found, matches client side getEntry() and allows us to tell the difference between false and not found
- Change server-side is_readonly() to properly consider expansion & sub-arrays
- Fix client side et2_readonlysArrayMgr to properly consider expansion & sub-arrays
2014-02-10 21:59:50 +00:00
Ralf Becker
646c444670
order accounts according to pref of how to display them
2014-01-21 18:46:42 +00:00
Nathan Gray
2123b7cbbf
Fix validation of selectboxes when options are specified as key => (label,title).
...
Fixes edit dialog actions not validating
2014-01-20 16:15:53 +00:00
Nathan Gray
a64da9f456
Disable automatic chosen, only explicit now
2014-01-10 09:47:26 +00:00
Ralf Becker
243f20e98c
fixed handling of optgroups, eg. notification chains in prefs
2014-01-10 07:08:45 +00:00
Nathan Gray
bbd146c0b9
Remove debug error message
2013-12-10 19:39:01 +00:00
Nathan Gray
cc3754ff85
Expand legacy options explicitly, since $legacy_options is not defined
...
Fixes missing app-specific categories in category edit popup
2013-12-10 19:37:57 +00:00
Nathan Gray
d1106a31fc
Check & avoid duplicates when re-indexing options
2013-11-27 20:22:36 +00:00
Nathan Gray
aed7267801
If search option is set in template, don't override it with automatic chosen switch based on option count.
2013-11-27 18:07:36 +00:00
Nathan Gray
52dbc208a6
Don't reset value to array index if it's already there
2013-11-26 20:03:19 +00:00
Ralf Becker
823e2b62c0
allow default label, even if switched to multiple, as it might stay if switch happens on clientside
2013-11-17 10:26:36 +00:00
Ralf Becker
1c7c699d4f
select-account: default label will be added on clientside, it doubles, if added here too
2013-11-06 10:31:57 +00:00
Ralf Becker
e5f76db8a8
fixed a typo in previous commit and get setting of value in typeOptions working
2013-11-06 08:59:38 +00:00
Ralf Becker
2793ab44fd
fix select-dow widget to return again a single value by oring together selected week-days
2013-11-06 08:49:06 +00:00
Klaus Leithoff
395dd415f8
fix for an etemplate:: call, that seems to be outdated self:: seems to be the static object to use now
2013-11-05 08:32:03 +00:00
Ralf Becker
7f50ed9f1a
fixed renumbered option-values because of array_merge
2013-11-04 16:05:51 +00:00
Ralf Becker
a1b66d286d
keep client/javascript from re-ordering nummeric option-values by sending them as array of objects with attribute value
2013-11-03 13:33:32 +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
Ralf Becker
baaaf5b877
static method to get app-names as options, as from the widget itself
2013-09-04 13:48:22 +00:00
Ralf Becker
b42b0a9e21
new option to to show only enabled apps (ones which users can get run-rights for) in select-apps
2013-08-28 10:07:24 +00:00
Nathan Gray
f33e49b4a5
Fix validation failure from menulist interfering.
2013-06-25 15:49:10 +00:00
Nathan Gray
bcd52bb375
Better fix for some widgets not being properly initialized (that doesn't break others)
2013-06-19 18:11:30 +00:00
Nathan Gray
44f4e1ba3b
Silence permanent debug
2013-05-22 19:30:31 +00:00
Ralf Becker
26c66d12d7
create static method etemplate_widget_menupopup::fix_encoded_options(), so apps can call that for cases it is not called automatically (eg. autorepeated rows)
2013-04-28 12:39:58 +00:00
Nathan Gray
b9a43091dc
Fix problem with false/0 values failing validation
2013-04-02 22:57:09 +00:00
Nathan Gray
a0cedae8b3
Add chosen to et2 selectbox
2013-03-15 17:47:28 +00:00
Nathan Gray
7d07d51265
Avoid warning if selectbox has no options
2013-02-27 17:57:23 +00:00
Nathan Gray
79a6e9f2d3
Don't set category title if category has no description
2013-02-08 10:50:19 +00:00
Ralf Becker
daac136f47
as et2 adds options as text, we can NOT use html entities, but direct utf-8 chars, which unfortunately php does not support as string literals, using html_entity_decode therefor
2013-02-05 11:24:02 +00:00
Nathan Gray
63fb4f1c7f
Fix bug with empty / '' select option being rejected
2012-07-24 22:55:49 +00:00
Nathan Gray
69812c92ee
Avoid fatal error if it exists, but is not an array
2012-06-26 23:00:22 +00:00
Nathan Gray
cd6ff18379
Check variable existance and type to avoid some warnings
2012-06-19 19:52:07 +00:00
Nathan Gray
180453a303
Make sure all selected accounts are there, even if preference would normally not include them
2012-06-18 23:26:02 +00:00
Nathan Gray
60843f9a1a
Enhance validation for select-account widget, which doesn't load all options - check that selected account is visible to the user instead of loading all or failing
2012-06-13 15:21:41 +00:00
Nathan Gray
fc3c054025
Take type into account before making 'no account selection' change
2012-06-05 21:16:33 +00:00
Nathan Gray
30b3213b90
Change diff dialog to use auto sizing, hopefully avoid some scrollbars in FF
2012-06-05 17:11:42 +00:00
Nathan Gray
9846011ec2
- Reset accidental commit using et2
...
- Set current app before validating to use app-specific values (category)
2012-06-05 16:19:02 +00:00
Nathan Gray
98c28030be
History log:
...
- Automatic support for custom fields
- Fix missing select-<subtype> values
2012-05-30 18:47:32 +00:00
Nathan Gray
de01faf0df
Add select account search dialog
2012-05-29 22:47:21 +00:00
Nathan Gray
92dbd693d7
Get row category colors working
2012-05-08 22:23:08 +00:00
Ralf Becker
0d66dd98b7
fixed server-side valdation of autorepeated rows/columns
...
had to change signature of validate function to get information for autorepeating through
removed entity-encoding of square brackets, as they mess up validiation (havnt found any negative effects so far)
2012-05-03 14:17:47 +00:00
Nathan Gray
6c72a6fe5f
Don't implode arrays, just return
2012-05-02 18:59:08 +00:00