[open-ils-commits] r11779 - trunk/Open-ILS/web/js/dojo/fieldmapper
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jan 9 09:24:38 EST 2009
Author: miker
Date: 2009-01-09 09:24:37 -0500 (Fri, 09 Jan 2009)
New Revision: 11779
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
Log:
remove useless mention of fmclasses in instances; test window.fmclasses instead of direct fmclasses
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2009-01-09 14:22:07 UTC (rev 11778)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2009-01-09 14:24:37 UTC (rev 11779)
@@ -41,7 +41,6 @@
},
_isfieldmapper : true,
- fm_classes : fmclasses,
clone : function() {
var obj = new this.constructor();
@@ -164,7 +163,7 @@
// ... otherwise we need to get the oldschool fmall.js stuff, which will lack .structure
} else {
- if (!fmclasses)
+ if (!window.fmclasses)
dojo.require("fieldmapper.fmall", true);
for( var cl in fmclasses ) {
More information about the open-ils-commits
mailing list