[open-ils-commits] r17278 - trunk/Open-ILS/web/js/ui/default/cat/authority (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Aug 20 00:02:47 EDT 2010
Author: dbs
Date: 2010-08-20 00:02:44 -0400 (Fri, 20 Aug 2010)
New Revision: 17278
Modified:
trunk/Open-ILS/web/js/ui/default/cat/authority/list.js
Log:
When initiating a new authority search, reset the pager to zero to avoid surprises
Modified: trunk/Open-ILS/web/js/ui/default/cat/authority/list.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/cat/authority/list.js 2010-08-20 03:47:46 UTC (rev 17277)
+++ trunk/Open-ILS/web/js/ui/default/cat/authority/list.js 2010-08-20 04:02:44 UTC (rev 17278)
@@ -130,7 +130,10 @@
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);
More information about the open-ils-commits
mailing list