Commit Graph

61 Commits

Author SHA1 Message Date
Nathan Gray
27e2f787a1 Date widget:
- Add year_range attributes to set the options in the year dropdown
- Experimental min and max attributes
Custom fields:
- Allow to set attributes in options field for some widget types (not ones that lists of options)
2015-04-21 19:46:33 +00:00
Nathan Gray
79332f31a5 Simple et2 implementation of ajax_search widget 2015-04-21 16:47:33 +00:00
Nathan Gray
1f88ddf303 Fix single-field customfields widgets not setting value properly 2015-03-31 19:48:46 +00:00
Hadi Nategh
a06de7758b Specify css class on customfield's row with named as field's id, in order to be able to customize its style 2015-03-30 09:50:53 +00:00
Hadi Nategh
01e339815f Fix customfields options with multiple negated fields and single custom field 2015-03-27 16:32:51 +00:00
Ralf Becker
e2ad7fe20d * all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1 2014-12-10 14:35:08 +00:00
Ralf Becker
275d733c22 fix customfield type "button" without any value stalls whole addressbook 2014-11-14 12:38:40 +00:00
Ralf Becker
76dbe08207 * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:45:55 +00:00
Hadi Nategh
3e56f38995 Try to get attribute with getAttribute method, IE does not support element dataset 2014-07-11 15:52:43 +00:00
Nathan Gray
a5b9173fc9 Handle multiple buttons in a single custom field 2014-07-08 20:13:51 +00:00
Nathan Gray
7a1d2dc0cd Customfield lists need to create all widgets, so they can be enabled if the column is changed without re-doing the whole thing 2014-07-08 03:37:47 +00:00
Hadi Nategh
6e4c7472fc Make sure rows are bigger than 0 otherwise customfield CKEditor will get height of 0 2014-07-02 09:34:51 +00:00
Nathan Gray
f3ba7f692f Use custom field name to toggle row visibility, not order, as order doesn't always work. 2014-06-11 18:03:19 +00:00
Nathan Gray
a4335f01a0 Hide custom field lines from nextmatch if they have no value 2014-06-10 20:22:43 +00:00
Ralf Becker
281863ac29 get customfield_list to respect readonlys of single fields 2014-05-15 16:49:53 +00:00
Hadi Nategh
82e259c407 Setup data_format customfileds "date" and "date-time" in client-side 2014-05-08 17:45:09 +00:00
Nathan Gray
b6cf2762c3 egw tooltips aren't supported in nextmatch rows, so set field title for custom field list when not shown as separate column. Also set data attributes, if anyone wants to try some fancy styling. 2014-03-24 18:00:09 +00:00
Ralf Becker
2908b9466b fixed not working retransformation of date* custom fields to Y-m-d[ H:i:s] format, caused by not calling validation of implementing base-widget, also added options from file and sending available options from server, as for regular select options 2014-02-24 14:47:55 +00:00
Nathan Gray
c74c024a46 Give specific class to custom fields list table 2014-01-18 11:59:05 +00:00
Nathan Gray
a458019490 Avoid some missing attribute warnings by not trying to set needed on readonlys, which don't support it. 2014-01-11 16:40:45 +00:00
Nathan Gray
407f3d673e Fix private field filter 2013-11-27 17:17:37 +00:00
Nathan Gray
aa4651272e Some minor enhancements / bugfixes, such as
- Better warnings
- Check some vars before using
- Fixes missing value on selects with tag attr
2013-11-01 21:12:20 +00:00
Nathan Gray
67d2fb66c2 Add a check to prevent total failure in the rare event of bad settings. 2013-07-03 23:06:59 +00:00
Nathan Gray
0c6f70005a Implement some basic client-side validation (required) 2013-06-26 20:50:10 +00:00
Nathan Gray
1b3c8d15c8 Fix for HTML site/general configuration overwriting customfield settings 2013-06-18 23:23:42 +00:00
Nathan Gray
8a2c791be3 For radiobox customfields, implement "empty" first value = extra group label 2013-06-18 20:55:13 +00:00
Nathan Gray
0cd63aefc2 Fix missing custom selectbox rows attribute 2013-06-18 17:16:08 +00:00
Nathan Gray
c87a5d6806 Implement csv max,display for custom field text length 2013-06-18 17:03:06 +00:00
Nathan Gray
92aa694f97 Fix customfield sub-type restriction blocking all customfields 2013-06-10 20:15:11 +00:00
Nathan Gray
a10914b20e Fix link-entry custom fields showing application selectbox 2013-06-05 17:10:57 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
cd0356219c Add some missing attribute attributes 2013-04-09 07:22:35 +00:00
Nathan Gray
8c20d825cb Fix private custom field filtering 2013-03-20 20:47:54 +00:00
Nathan Gray
f7f9e13916 Fix missing custom fields 2013-03-20 16:41:46 +00:00
Nathan Gray
00805a6d21 Handle possibility that custom field filter is already an array 2012-07-24 22:57:27 +00:00
Nathan Gray
60c350b55e Get private custom fields working 2012-07-24 16:37:24 +00:00
Nathan Gray
fa69637b82 Silence some warnings, mostly about attributes 2012-07-23 23:54:16 +00:00
Nathan Gray
dcba97a2ae Fix custom field filtering 2012-07-11 20:30:33 +00:00
Nathan Gray
fb3672f950 Only loop through existing widgets, not the whole list 2012-06-13 15:18:34 +00:00
Nathan Gray
3364d1a1df Get custom field values working when custom field has no ID 2012-06-12 20:58:25 +00:00
Nathan Gray
1f2ee8faf2 Add ckeditor as htmlarea widget 2012-06-06 04:13:19 +00:00
Nathan Gray
be878e3e79 Get radio customfield working in popup + nm 2012-03-23 18:57:13 +00:00
Nathan Gray
bcc1c054c2 Get checkbox custom fields working 2012-03-22 23:35:25 +00:00
Nathan Gray
0c5c5ffb2c Handle custom field date formatting 2012-03-22 16:34:45 +00:00
Nathan Gray
55602bef6d Implement 'type2' as 'type_filter' custom field option to filter out different fields 2012-03-21 23:23:07 +00:00
Nathan Gray
e567e6d0bf Update visible custom fields 2012-03-19 19:57:02 +00:00
Nathan Gray
1257ab5e7c Fix up nextmatch column / custom field selection in header 2012-03-19 19:23:23 +00:00
Nathan Gray
3a865977ff Pretty checkboxed multi-select widget 2012-03-15 22:57:55 +00:00
Nathan Gray
743aa2935e Get custom fields down to only 1 each 2012-03-13 18:01:55 +00:00
Andreas Stöckel
69c7697e61 Fixed problem with infolog-image 'not-started' not found in grid; causes new problem with some buttons being displayed twice (caused by this.image=null in et2_widget_button.js::180) 2012-03-06 16:29:18 +00:00