mmmy / flexigrid

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

Reload stop worink when #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load empty table with url = false
2. Click relod button in the table
3. Change url and execute .flexReload() action from another button on the page. 

What is the expected output? What do you see instead?
Table should be populated after second action. Instead table isn't populated. 

Please provide any additional information below.
I found how it can be fixed:
First we need to check url and only then set loading variable:

                if (!p.url) {
                    return false;
                }
                this.loading = true;

I think this should be used in original code.

Original issue reported on code.google.com by Andriy...@gmail.com on 21 Apr 2012 at 2:40