[open-ils-commits] r14674 - trunk/Open-ILS/web/js/dojo/fieldmapper (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 29 10:24:10 EDT 2009
Author: erickson
Date: 2009-10-29 10:24:07 -0400 (Thu, 29 Oct 2009)
New Revision: 14674
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js
Log:
use return instead of continue to exit the foreach function
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js 2009-10-29 13:36:08 UTC (rev 14673)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js 2009-10-29 14:24:07 UTC (rev 14674)
@@ -102,7 +102,8 @@
var name = field.getAttribute('name');
if(name == 'isnew' || name == 'ischanged' || name == 'isdeleted')
- continue;
+ return;
+
var obj = {
field : field,
More information about the open-ils-commits
mailing list