ipeychev/liferay-portal — pull request #132 by lipusz (2013-02-27 12:14:05+00:00)
Title: [TECHNICAL-SUPPORT] LPS-33071 Manually entered values as Custom Ranges can cause ArrayIndexOutOfBoundsException in Search Portlet Modified facet

Hey Iliyan,

I have modified the code to work properly based on our discussion.

Now, it is aware of which field fired 'errorField' or 'validField' event and we can change the corresponding variable accordingly.

Form submitting (searchButton) is enabled, only when both fields are valid.

I have also added "disabled" attribute to "searchButton", to disable or enable it on server side before rendering the page.

Please, review my changes.

Thanks,
Tibor