azizlabib2015 / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

DroplistFilterEditor response nothing if no option was selected #242

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by iSunshin...@gmail.com on 5 Feb 2010 at 2:16

GoogleCodeExporter commented 8 years ago
Is this still an issue? Will close for now.

Original comment by jeff.johnston.mn@gmail.com on 10 Mar 2011 at 9:58