Commit 5f000cef99a5a7faec333728a85e21ca09caa228
1 parent
6adf6469
drobna poprawka do sortowania
Showing
1 changed file
with
2 additions
and
1 deletions
media/js/lexeme-view.js
... | ... | @@ -186,7 +186,8 @@ $.extend(slickgrid, { |
186 | 186 | slickgrid.update_sort_button(sort_rules); |
187 | 187 | var active_id = slickgrid.active_id(); |
188 | 188 | slickgrid.loader.setSort(sort_rules); |
189 | - slickgrid.row_index(active_id); | |
189 | + if (active_id) | |
190 | + slickgrid.row_index(active_id); | |
190 | 191 | }); |
191 | 192 | }, |
192 | 193 | init: function() { |
... | ... |