From fe587a5b3037e08401edc51aa63f503dd607aa84 Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Wed, 10 Jan 2007 13:39:41 +0000 Subject: [PATCH] Reset record update timer when clicking on new page. --- www/demo/search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/demo/search.js b/www/demo/search.js index 01a1f38..331a349 100644 --- a/www/demo/search.js +++ b/www/demo/search.js @@ -1,4 +1,4 @@ -/* $Id: search.js,v 1.16 2007-01-10 13:28:09 sondberg Exp $ +/* $Id: search.js,v 1.17 2007-01-10 13:39:41 sondberg Exp $ * --------------------------------------------------- * Javascript container */ @@ -181,6 +181,7 @@ function make_pager (hits, offset, max) { function update_offset (offset) { + clearTimeout(searchtimer); document.search.startrec.value = offset; update_action('page'); check_search(); -- 1.7.10.4