[open-ils-commits] r19754 - trunk/Open-ILS/xul/staff_client/server/cat (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 15 13:18:47 EDT 2011
Author: miker
Date: 2011-03-15 13:18:43 -0400 (Tue, 15 Mar 2011)
New Revision: 19754
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
Log:
revert accidental commit of dojo-to-for(;;;) test
Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2011-03-15 17:16:03 UTC (rev 19753)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.js 2011-03-15 17:18:43 UTC (rev 19754)
@@ -2440,9 +2440,7 @@
);
sf_popup.appendChild( createComplexXULElement( 'menuseparator' ) );
- var recs = dojo.query('record', records)
- for (var i = 0; i < recs.length; i++) {
- var record = recs[i];
+ dojo.query('record', records).forEach(function(record) {
var main_text = '';
var see_from = [];
var see_also = [];
@@ -2495,7 +2493,7 @@
buildAuthorityPopup(entry_text, record, auth_org, auth_id, sf_popup, target, sf, "font-style: italic; margin-left: 2em;");
});
- }
+ });
if (sf_popup.childNodes.length == 0) {
sf_popup.appendChild(createLabel( { value : $('catStrings').getString('staff.cat.marcedit.no_authority_match.label') } ) );
More information about the open-ils-commits
mailing list