1
0
mirror of synced 2024-11-25 14:26:03 +03:00
Commit Graph

2419 Commits

Author SHA1 Message Date
Justin DuJardin
1fff4788eb compress getContainerWidth(), add missing semicolon. 2012-03-29 13:39:38 -07:00
Justin DuJardin
55a257ddba Better extract width style from inline element :
- Match floating point numbers as well as integers (e.g. "width:99.5%")
  - Strip all string spaces, to match styles specified with variable spacing (e.g. "   width:   5em  ;")
2012-03-29 13:39:18 -07:00
Justin DuJardin
26baca110b Remove close button outline. 2012-03-29 13:39:10 -07:00
Justin DuJardin
b2c6ced65f Rework select2 and styles to support styled width's (rather than just fixed pixel widths)
- Will not work with styles specified in remote CSS, because there's no easy way to retrieve the original css value.
 - Will work with styles specified inline on the element (regex parse out width value with specified units intact, from the element style attribute)

Tested in Firefox,Chrome,Safari,Opera
2012-03-29 13:38:57 -07:00
Igor Vaynberg
eddc40934c small code cleanup 2012-03-29 11:43:39 -07:00
Igor Vaynberg
b30b455505 Fix CRLF 2012-03-29 11:08:14 -07:00
Igor Vaynberg
341a3cd8b5 fix ie8 compat, closes #7 2012-03-29 10:45:31 -07:00
Igor Vaynberg
1ab192ac7b option to hide the search field if there are just a few results. closes #4 and closes #6 2012-03-28 15:21:43 -07:00
Igor Vaynberg
7cd54f5358 no need to preload results, they will be loaded on open 2012-03-28 14:43:10 -07:00
Igor Vaynberg
d7f0c0a8b1 simplified support for local array data 2012-03-28 14:32:18 -07:00
Igor Vaynberg
f4e0089b1f cleaned up loading/cleaning of result list 2012-03-27 15:06:42 -07:00
Igor Vaynberg
2dc46c4bfa move the [x] icon back to the right in single selection mode. issue #3 2012-03-26 23:52:31 -07:00
Igor Vaynberg
b18b9aecd8 support removing elements that have non-numeric ids 2012-03-26 23:45:08 -07:00
Igor Vaynberg
339c7a850e moving [x] button to the left so its easier to remove multiple sequential selections. closes #3 2012-03-26 14:24:30 -07:00
Igor Vaynberg
1afffb09dc improved blur tracking. closes #2 2012-03-26 14:08:06 -07:00
Igor Vaynberg
f6eb1edbce change paging of remote data to be 1-based instead of 0-based 2012-03-25 22:10:10 -07:00
Igor Vaynberg
b5c4817149 initial support for multiselect mode, issue #1 2012-03-25 20:30:57 -07:00
Igor Vaynberg
91b03ca43b fixed readme 2012-03-04 10:59:28 -08:00
Igor Vaynberg
53e214d32f initial checkin 2012-03-04 10:58:26 -08:00