Commit Graph

47 Commits

Author SHA1 Message Date
nathangray
3daa25ca1a Only set taglist empty label for editable widgets 2018-09-28 10:49:12 -06:00
nathangray
92e818f429 Explicitly set taglist empty label 'Select some options' when missing so it can be translated 2018-09-27 11:46:29 -06:00
Hadi Nategh
13f3cc5260 Fix some issues with select-country widget:
- Country selection in preferences does not respect selected value
- Fix missing empty labels in country selection in preferences
- Remove flag image from empty labels
2018-09-25 11:24:22 +02:00
Hadi Nategh
2010850c16 Fix couple of issues regarding AB country and region selections:
- Use taglist-state widget for US state selector
- Make sure falg class only gets added for select-country widget
- Fix some styling
2018-09-24 13:48:24 +02:00
Hadi Nategh
6c4cc97a5f Implement new taglist widget to represent list of regions of a selected country 2018-09-19 16:43:19 +02:00
Hadi Nategh
cdae6c4b01 Fix country-select does not set flag when switching between countries 2018-09-18 16:05:32 +02:00
Hadi Nategh
82065b51c3 Fix unwanted autocomplete showing up for country-select widget 2018-09-18 15:16:51 +02:00
Hadi Nategh
6e94639b0a Implement flags indication for country-select widget:
- Migrate AB country selector to select-country tags
- Migrate Country selector in preferences to use select-country tags
2018-09-18 10:46:36 +02:00
nathangray
6f7050d036 Fix taglists did not always get their options 2018-06-04 14:42:07 -06:00
Ralf Becker
ba366467b0 * Admin/Mail: fix saving mail-accounts for multiple accounts 2018-05-04 15:07:06 +02:00
Hadi Nategh
9fb74c1b7c Make selectbox tags&search available for nextmatch header filter 2017-12-07 15:58:25 +01:00
Hadi Nategh
8ca3a19cd9 * Tracker: Fix broken tracker queue selectbox filter 2017-12-05 12:17:19 +01:00
Hadi Nategh
fe5c7a5186 Make sure the options are typeof array or object 2017-12-04 17:02:34 +01:00
nathangray
2364a39de0 Avoid error if this.input is not yet set 2017-11-20 09:26:04 -07:00
nathangray
ffd66b56d7 - Fix typo
- Fix value not re-set after changing select options if value was ''
2017-11-17 10:05:46 -07:00
A Sigalas
58326d07f6 Allow single deselect for listboxes 2017-10-05 10:20:01 +00:00
Hadi Nategh
50697efe55 Check if the given options are type of array or object before proceeding of translation. Fix bug "cannot assign to read only property '0' of string" in tracker site configuration. 2017-10-02 16:15:29 +02:00
nathangray
b0c7a55d9d Missing translations, provided by Stefan Unverricht 2017-06-07 15:15:13 -06:00
nathangray
32778f20bf Fix calendar edit recurrence losing timezone on first load 2017-05-10 13:45:32 -06:00
Ralf Becker
a2a5ea15ae fix select(-account) tags=true widget to not call onchange callback twice with different signature, now signature is onchange(_node, _widget, _change) 2017-01-30 14:44:31 +01:00
nathangray
fbba0f2e59 - Fix a bug in print dialog, clicking header was also toggling first checkbox
- Missing translations from Stefan Unverricht
2016-12-06 09:45:55 -07:00
Hadi Nategh
791d1f1d74 Implement new representation for et2_selectbox widget of multi tags with limited single row 2016-07-11 17:24:20 +02:00
Hadi Nategh
ea200604fb Implement new nextmatch cat-filter including category colors 2016-07-07 15:45:14 +02:00
Hadi Nategh
93217a149d jQuery libraries updates via composer 2016-06-06 17:38:20 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
nathangray
473fa38969 Avoid errors if select options are not strings.
Happens with accounts, which can be integers
2016-05-26 15:34:54 -06:00
nathangray
5774bf9d5a Do not try to hide the input if not there - it causes an exception, stopping the template from loading 2016-05-25 16:54:08 -06:00
Hadi Nategh
8e92a42c65 Implement set_disabled for select widget with tags enabled 2016-05-04 14:29:44 +00:00
Ralf Becker
7e358fe5ad removed not working typeof value == "array" 2016-04-25 20:05:53 +00:00
Nathan Gray
7baf298bf7 Keep value if et2 tried to set it before select_options were there, and it got stripped out 2016-04-25 20:02:58 +00:00
Nathan Gray
f58ef2980f When select options change and we have tags turned on, update chosen 2016-04-25 19:37:37 +00:00
Ralf Becker
06c4b2db23 use new et2 site config 2016-04-25 15:57:38 +00:00
Ralf Becker
8a96e97684 keep an array for options, do not convert them to an object 2016-04-25 08:26:44 +00:00
Ralf Becker
a9eba441d7 fix autorepeated id "cat[3]" would pick array element 3 from cat 2016-04-23 16:11:28 +00:00
Nathan Gray
1019046a0d - Avoid changing content manager select options when reading from template tags
- More checking with namespaced select options to avoid grabbing all children of a parent namespace
2016-04-20 21:20:36 +00:00
Ralf Becker
22701ce83f WIP et2 based site configuration 2016-04-20 18:52:55 +00:00
Nathan Gray
fd3ae9f899 Fix "Cannot read property 'replace' of undefined" when setting multi-select with empty label to empty value 2016-04-11 15:59:17 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Ralf Becker
ffaeb52bce fix editing mail accounts loses imap or smtp server type caused by not correctly escaping values searched via jQuery selector 2016-04-06 14:57:44 +00:00
Ralf Becker
4591f5c8b4 fix client-side nextmatch to use select-options from get_rows data for select-widgets in newly rendered rows 2016-04-05 15:05:31 +00:00
Ralf Becker
d890f4f1a2 storing select_options permanent when send with rows 2016-04-04 18:36:33 +00:00
Nathan Gray
b28792ffaf Better handling of missing top-level cache (happens in sitemgr) to avoid infinite loops 2016-03-21 22:25:33 +00:00
Nathan Gray
496d24592b Correctly handle optgroups in both processed & legacy forms 2016-03-21 19:56:40 +00:00
Nathan Gray
374cfffb89 Fix missing optgroup labels 2016-03-21 15:09:57 +00:00
Nathan Gray
fd3c729454 Fix selectbox cache - needs to be undefined if missing for subsequent processing
(broken by r55418)
2016-03-21 14:43:39 +00:00
Ralf Becker
df7d8c414a modified client-side to call new server-side classes in api, instead compatibility classes in etemplate 2016-03-19 16:16:59 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00