Commit c46e6ee52accd35e7826b68ddc7234b6537f9193
1 parent
3b770064
nieistotna drobna poprawka
--HG-- branch : beta
Showing
2 changed files
with
3 additions
and
2 deletions
common/static/js/slickgrid.js
... | ... | @@ -72,7 +72,6 @@ var slickgrid = { |
72 | 72 | slickgrid.search_counter++; |
73 | 73 | //slickgrid.loader.onDataLoading.notify(); |
74 | 74 | slickgrid.loader.searchRow( |
75 | - slickgrid.search_counter, slickgrid.search_string(), | |
76 | 75 | function (row) { |
77 | 76 | slickgrid.set_active_when_loaded = row; |
78 | 77 | slickgrid.grid.scrollRowToCenter(row); |
... | ... |
dictionary/static/js/remotemodel.js
... | ... | @@ -163,7 +163,9 @@ |
163 | 163 | return filter; |
164 | 164 | } |
165 | 165 | |
166 | - function searchRow(search_counter, search_text, callback) { | |
166 | + function searchRow(callback) { | |
167 | + var search_counter = slickgrid.search_counter; | |
168 | + var search_text = slickgrid.search_string(); | |
167 | 169 | var data = { |
168 | 170 | filter: filter, |
169 | 171 | sort_rules: sort_rules, |
... | ... |