| Issue 242: | DroplistFilterEditor response nothing if no option was selected | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. I created a customer DroplistFilterEditor. 2. I clicked the filter and did not choose any option and simply click another filter or any part of the page, then the hole page data was lost. 3. the first option of the DroplistFilterEditor is a blank value option, but it cannot be used to clear the filter value. What is the expected output? What do you see instead? For now, I simply create a AcceptAnyFilterMatcher class which implements FilterMatcher and I let it return true anyway, so if I choose no option and click any part of the page, the data will not be lost. I change jquery.jmesa.js $(input).change to $(input).click, so the first option can be used for clear the droplist filter value. and change if (dynFilter) { return } to if (dynFilter) { dynFilter = null; } Reset dynFilter to null is important, in some case, if I first click the droplist filter and choose no option and then click another filter, all of the filter lost focus and cannot get focus until I refresh the page. What version of the product are you using? On what operating system? I'm using jmesa 2.4.6 and Windows XP and IE6. Sorry for poor English.
Mar 10, 2011
Project Member
#1
jeff.johnston.mn@gmail.com
Status:
Invalid
|