When initiating a new authority search, reset the pager to zero to avoid surprises
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Aug 2010 04:02:44 +0000 (04:02 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Aug 2010 04:02:44 +0000 (04:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17278 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/cat/authority/list.js

index 367c099..0bcf340 100644 (file)
@@ -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);