##// END OF EJS Templates
quick filter: do an initial filtering on page load if it has a search criteria - for instance after back
Mads Kiilerich -
r4000:f60edcc4 default
parent child Browse files
Show More
@@ -223,6 +223,10 b' function table_renderer(data){'
223 filterTimeout = setTimeout(updateFilter,600);
223 filterTimeout = setTimeout(updateFilter,600);
224 });
224 });
225
225
226 if(YUD.get('q_filter').value) {
227 updateFilter();
228 }
229
226 }
230 }
227 </script>
231 </script>
228 </%def>
232 </%def>
@@ -147,7 +147,7 b''
147
147
148 var filterTimeout = null;
148 var filterTimeout = null;
149
149
150 updateFilter = function () {
150 updateFilter = function () {
151 // Reset timeout
151 // Reset timeout
152 filterTimeout = null;
152 filterTimeout = null;
153
153
@@ -175,4 +175,8 b''
175 clearTimeout(filterTimeout);
175 clearTimeout(filterTimeout);
176 filterTimeout = setTimeout(updateFilter,600);
176 filterTimeout = setTimeout(updateFilter,600);
177 });
177 });
178
179 if(YUD.get('q_filter').value) {
180 updateFilter();
181 }
178 </script>
182 </script>
@@ -305,7 +305,7 b''
305
305
306 var filterTimeout = null;
306 var filterTimeout = null;
307
307
308 updateFilter = function () {
308 updateFilter = function () {
309 // Reset timeout
309 // Reset timeout
310 filterTimeout = null;
310 filterTimeout = null;
311
311
@@ -333,7 +333,11 b''
333 clearTimeout(filterTimeout);
333 clearTimeout(filterTimeout);
334 filterTimeout = setTimeout(updateFilter,600);
334 filterTimeout = setTimeout(updateFilter,600);
335 });
335 });
336 }
336
337 if(YUD.get('q_filter').value) {
338 updateFilter();
339 }
340 }
337
341
338 </script>
342 </script>
339 </%def>
343 </%def>
General Comments 0
You need to be logged in to leave comments. Login now