From: dbs Date: Fri, 20 Aug 2010 04:02:44 +0000 (+0000) Subject: When initiating a new authority search, reset the pager to zero to avoid surprises X-Git-Tag: kcls-grey-screen-prod1~1177 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9a74e14a0ad8430895a73300dd3e64146d6dbf24;p=evergreen%2Fequinox.git When initiating a new authority search, reset the pager to zero to avoid surprises git-svn-id: svn://svn.open-ils.org/ILS/trunk@17278 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/default/cat/authority/list.js b/Open-ILS/web/js/ui/default/cat/authority/list.js index 367c099582..0bcf3406c1 100644 --- a/Open-ILS/web/js/ui/default/cat/authority/list.js +++ b/Open-ILS/web/js/ui/default/cat/authority/list.js @@ -130,7 +130,10 @@ function authListInit() { dijit.byId('authTerm').attr('value', term); displayRecords(); } - dojo.connect(dijit.byId('authTerm'), 'onBlur', 'displayRecords'); + dojo.connect(dijit.byId('authTerm'), 'onBlur', function() { + dijit.byId('authPage').attr('value', 0); + displayRecords(); + }); } dojo.addOnLoad(authListInit);