Commit Graph

76 Commits

Author SHA1 Message Date
Ralf Becker
f4e1db3a68 fixed htmlarea not returning any content caused by prefixed DOM id, now all DOMwidgets have their DOM id available via this.dom_id set via this.set_id() 2013-08-23 14:10:37 +00:00
Nathan Gray
eb1be53297 Fix bad value in selectbox 'blank' option 2013-08-21 15:59:42 +00:00
Nathan Gray
c1be84c912 Some layout changes to get autocomplete (link widget, select users) working in dialogs too 2013-08-20 23:08:35 +00:00
Nathan Gray
d7375a2321 Add tooltips to popup header buttons 2013-08-19 20:21:56 +00:00
Nathan Gray
f4a6c9859a More fixes forjQuery/jQueryUI update issues 2013-07-20 17:20:55 +00:00
Nathan Gray
d2d0fa1fcd Check for proper type (string) if I want to use string functions 2013-07-19 12:38:52 +00:00
Nathan Gray
1b270b2d6f Use an etemplate / top template level prefix to avoid DOM ID collisions 2013-07-17 13:08:48 +00:00
Nathan Gray
c8d2953c85 Check that input is created before using it, avoids error when chosen gets involved. 2013-06-25 21:56:08 +00:00
Nathan Gray
3ddf4a0300 Fix read-only selectboxes rejecting some values (same as r42732) 2013-06-25 21:38:11 +00:00
Nathan Gray
e0b576e822 Fix read-only selectboxes not being translated 2013-06-25 14:37:24 +00:00
Nathan Gray
eaa0cb6fa0 Need to trigger chosen update for single selects too 2013-06-19 19:01:42 +00:00
Nathan Gray
5c96c8c986 Prevent accidental too wide chosen boxes 2013-06-17 22:01:50 +00:00
Nathan Gray
ce5d6faa0a Add setter method for tags attribute 2013-06-17 20:55:42 +00:00
Nathan Gray
4d26a36d09 Fix order of selectbox option detection so value is last choice 2013-06-11 22:51:45 +00:00
Nathan Gray
62a28e88fc Accept any multiple CSV, not just numeric IDs 2013-06-10 23:38:02 +00:00
Nathan Gray
6852d0807d Improve UI of multi-row selectbox
- Only check button, no x (check toggles all/none), aligned with checkboxes
- Header with buttons hides when not hovering over checkbox, saving space
- Account select now has quick-select in header
2013-06-05 22:45:19 +00:00
Nathan Gray
f5ab004499 Fix occasionally missing selectbox value 2013-06-03 22:33:50 +00:00
Nathan Gray
42fd3fe37b Implement optgroups for select widget 2013-04-29 18:36:48 +00:00
Ralf Becker
947511779a _atts["select_options"] is not null but {} 2013-04-28 12:42:13 +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
fbd81e6aa9 Fix 'undefined' in read only selectboxes when value was not in list of options 2013-03-25 23:00:25 +00:00
Nathan Gray
a0cedae8b3 Add chosen to et2 selectbox 2013-03-15 17:47:28 +00:00
Nathan Gray
fa020a5a37 Fix selectbox set_value() 'unchanged' check to actually check the value 2013-03-04 23:25:36 +00:00
Nathan Gray
a178fd1cec Stop caring about multiple for readonly, display all values provided 2013-02-07 16:05:32 +00:00
Nathan Gray
e094b35394 Get nextmatch_customfilter working 2013-02-07 14:36:19 +00:00
Nathan Gray
eac76facda Check for content options first 2013-02-06 17:08:12 +00:00
Nathan Gray
ebd061ea96 Fix for a rare case when selectbox with row in ID and options with label+title didn't work 2013-02-06 13:49:40 +00:00
Nathan Gray
f29d9ce72d - Keep internal value synced with widget value
- Handle case when rows attribute is specified, and rows legacy option is used for empty_label
2012-07-10 22:20:13 +00:00
Nathan Gray
6a7b991fb7 Make sure search button / header is visible even for short selectboxes 2012-07-05 20:16:19 +00:00
Nathan Gray
c19a3b6c5f Row values can get put in [id] or {}[id] - look in both 2012-07-05 20:01:54 +00:00
Nathan Gray
d156f20492 Fix bug where one selectbox's empty label could get added to all 2012-06-13 15:15:31 +00:00
Nathan Gray
6689578d52 Sometimes ID can get set to an empty array by server side - don't count that, look up the tree 2012-06-06 17:00:15 +00:00
Nathan Gray
4f4355f0f8 Fix empty label - default value for selectbox has to be '' 2012-06-06 14:21:38 +00:00
Nathan Gray
d9efe319d0 Remove registration for select-account 2012-06-06 04:06:48 +00:00
Nathan Gray
2573076826 Add some change detection, don't do anything if value is not changed 2012-06-05 21:09:16 +00:00
Nathan Gray
fc3553636d Make sure options get set, if provided to constructor 2012-05-23 23:54:30 +00:00
Nathan Gray
efd5bacc7a Make sure value gets set before applying filters, or it won't stay 2012-05-08 18:02:56 +00:00
Nathan Gray
79d3e78f30 Set empty value after loading options, if there's an empty/all label 2012-05-08 17:43:13 +00:00
Nathan Gray
1049474cd9 Get customfield-type working again 2012-05-07 17:40:59 +00:00
Nathan Gray
d2fc62a474 Handle null values without errors 2012-05-02 22:12:42 +00:00
Nathan Gray
2a0df92594 Use set_select_options() to set options read from template to make sure everything is done the same 2012-05-02 19:45:35 +00:00
Nathan Gray
f716f7fd6b - Fix read-only multi-select, was not displaying
- Fix issue with 'rows' being separate, threw off other options
- Move around icon/color multi-select options, use them for users.  We'll see.
2012-04-30 23:29:31 +00:00
Nathan Gray
afb14a532b Get nm changing selectbox options / filters working 2012-04-30 17:00:50 +00:00
Nathan Gray
8f488553c0 Make sure read-only selectbox does not return a value 2012-04-25 15:41:19 +00:00
Nathan Gray
2ed29276f6 Check array length too - if arrayMgr returns an empty array, keep looking for options 2012-04-24 22:48:39 +00:00
Nathan Gray
4407942ca6 Better handling of multiple selected read-only accounts 2012-04-16 23:08:28 +00:00
Nathan Gray
90c5646da9 Fix selectbox for numeric values 2012-04-09 21:49:28 +00:00
Nathan Gray
e4a4154f3f Shuffle where to look for options: first by ID, then top level, then in row 2012-03-22 23:19:13 +00:00
Nathan Gray
00c9b4f613 Make sure empty / all / none option is first in the list 2012-03-19 19:22:21 +00:00
Nathan Gray
3a865977ff Pretty checkboxed multi-select widget 2012-03-15 22:57:55 +00:00