Commit Graph

29 Commits

Author SHA1 Message Date
Claudio Sanches 393c9afe78 Replaced deprecated Select2 4 quietMillis in favor of delay 2017-04-06 16:18:42 -03:00
Mike Jolley c1468cdc2e Merge branch 'master' into fix/trycatchselect2
# Conflicts:
#	assets/js/admin/wc-enhanced-select.js
#	assets/js/admin/wc-enhanced-select.min.js
2017-04-06 18:58:17 +01:00
Mike Jolley d3d301a26c Add try/catch block to select2 code to stop it breaking EVERYTHING on conflict/failure 2017-04-06 13:04:22 +01:00
Claudio Sanches 2ffb2e8853 Allow search customers by ID in admin customer ajax search
Closes #13980
2017-04-06 02:19:12 -03:00
Mike Jolley 005bedb7e8 Workaround for loading failed message 2017-04-04 11:13:43 +01:00
Mike Jolley 2011c19b53 Match language array in select2
Closes #13628
2017-03-16 17:03:12 +00:00
pierrebuet 41a937041d Updating the way select2 v4 loads translated strings
Correcting Issue #12952.

In select2 v4 the callback functions used to format the messages have
changed their names and the structure of the options have changed,
using now a „language“ object.

I was not able to find a reference in the select2 v4 code how to format
the number of matches back. Further when using v4 I don’t see any
indication on the number of the number of returned matches, so I
consider the parameter as obsolete.
2017-01-23 22:04:52 +01:00
Mike Jolley 6b511e84be Sorting 2016-12-23 15:14:27 +00:00
Mike Jolley 2e09532b7a Close when html clicked 2016-12-21 14:23:17 +00:00
Mike Jolley 92968492a0 Customer search 2016-12-21 14:18:33 +00:00
Mike Jolley 96877dbb25 Fix product search inputs 2016-12-21 13:23:26 +00:00
Mike Jolley 56fef5b4f6 More styling settings tweaks 2016-12-21 11:36:48 +00:00
Mike Jolley 559e379faf Issues after audit 2016-08-05 14:23:01 +01:00
Mike Jolley c61c08f405 Merge branch 'master' into tax-rate-auto-ordering
# Conflicts:
#	assets/css/admin.css
2016-08-04 14:06:52 +01:00
Kathy Darling e670dc202b use data attribute data-sortable to toggle sorting 2016-06-13 15:01:15 -05:00
Kathy Darling 995b809cce add drag and drop support to select2 inputs. closes #11106 2016-06-13 13:47:03 -05:00
Shiva Poudel a88caf5b72 Feature to exclude certain users from ajax customer search box
Closes #10360
CC @mikejolley
2016-02-16 19:40:36 +05:45
Manos Psychogyiopoulos 2a6a26f800 allow searching from predefined set and introduce search limit
Makes it possible to search from a pre-defined set of known ids without returning all results, avoiding an excessive amount of product instantiations with large result sets.
2015-12-12 14:28:45 +02:00
Claudio Sanches 791c20ae51 Added param for exclude posts from wc-product-search, closes #8613 2015-07-20 13:41:14 -03:00
Claudio Sanches 4a19182158 Fixed js coding standards 2015-07-08 15:33:59 -03:00
Claudio Sanches e085499166 Improved the wc-enhanced-select.js load 2015-04-13 12:44:54 -03:00
Claudio Sanches 69552d265d Fixed select 2 formatSelectionTooBig(), closes #7640 2015-03-05 14:55:41 -03:00
Mike Jolley 6658c88adc Add args to correct scripts
Fixes #7610. @claudiosmweb
2015-03-03 10:58:10 +00:00
Claudio Sanches 01c0401bc0 Close the select2 when close the wc backbone modal, closes #7347 2015-02-10 14:57:14 -02:00
Mike Jolley d0967d80ff Prevent already init select2 elements being re-init Fixes #7162 2015-01-20 11:46:31 +00:00
Claudio Sanches ab3553a6fd Select2 translatable, closes #7159 2015-01-19 17:31:22 -02:00
Mike Jolley 8110a8376b Upsells and cross sells select2 2015-01-12 16:39:49 +00:00
Mike Jolley 50c6e1e4a0 select2 settings 2015-01-12 16:29:01 +00:00
Mike Jolley 9852d9c6ec Order data JS select2 + refactor 2015-01-12 15:43:13 +00:00