Commit Graph

2 Commits

Author SHA1 Message Date
Phil Frost 5ff3ae2034 kill the executable bit on things that are clearly not executables or scripts
bzr revid: pfrost@openerpdev-20130103231005-56pglti6uss0jsm5
2013-01-03 18:10:05 -05:00
Xavier Morel ad670b6887 [FIX] field-selection UI in import table: replace jquery-autocomplete by select2
* jQuery autocomplete requires complex hacks to work out and look
  select-ish
* select2 is more straightforward to use for people
  expecting <select> as it's styled similarly to a (non-standard)
  select
* select2 includes built-in support for groups, no need to hack it via
  interspersed fake options
* select2 provides a nice [x] button to remove the current choice
  without having to e.g. manually remove the content of the input

Why select2 instead of Chosen? Because Chosen isn't really setup to
work from array data, it wants selects serialized in the DOM, and
while the webkit bug I'd identified previously (see web client
revid:xmo@openerp.com-20110922085812-3u1esk6czraskm01) seems fixed in
the very latest webkits, it's still present in e.g. Safari 5.1 which
I'm using. So there.

And chosen's APIDoc is almost as bad as OpenERP's.

bzr revid: xmo@openerp.com-20120906103516-h94e6hd76w41bmyx
2012-09-06 12:35:16 +02:00