evoluteur / structured-filter

jQuery UI widget for structured queries like "Contacts where Firstname starts with A and Birthday before 1/1/2000 and State in (CA, NY, FL)"...
http://evoluteur.github.io/structured-filter/
MIT License
258 stars 61 forks source link

add compatibility with jQuery UI 1.12 #10

Closed MoeRT09 closed 7 years ago

MoeRT09 commented 8 years ago

might break compatibility with jQuery UI 1.11 and below

evoluteur commented 8 years ago

Thanks for the contribution. Unfortunately, as you mentionned, it's breaking backward compatibility.

The way to keep compatibility would be to add rather than replace options. Each version will take what it needs and ignore the rest.

Here is an example: this._bSubmit=e.find('.evo-bSubmit').button({ showLabel: bLabels, text: bLabels })