DaltonPimmel / flexigrid

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

Clicking the Reload button should perform Search #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click on Search
2. Enter search criteria
3. Click the Reload button
4. Search filter is not applied

What is the expected output? What do you see instead?
Search filter is not applied. This is confusing for users to have to hit 
"enter" to do search, they are clicking the Reload button expecting it to do 
search.

What version of the product are you using? On what operating system?
1.1
Linux

Please provide any additional information below.

Fix:

Find:
$('.pReload', g.pDiv).click(function () {
                g.populate()
            });

Replace With:
$('.pReload', g.pDiv).click(function () {
                //g.populate() // <-- Modified Here
                g.doSearch();
            });

Original issue reported on code.google.com by kevincri...@gmail.com on 16 Feb 2012 at 4:52