[open-ils-commits] r15597 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 19 11:03:25 EST 2010


Author: erickson
Date: 2010-02-19 11:03:23 -0500 (Fri, 19 Feb 2010)
New Revision: 15597

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js
   trunk/Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js
Log:
teach edit pane and the (pending) pcrud filter code about local (non-IDL) fields as opposed to regular virtual fields

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js	2010-02-19 04:12:36 UTC (rev 15596)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js	2010-02-19 16:03:23 UTC (rev 15597)
@@ -60,8 +60,9 @@
 
                 for(var f in this.sortedFieldList) {
                     var field = this.sortedFieldList[f];
-                    if(!field || field.virtual) continue;
+                    if(!field || field.virtual || field.nonIdl) continue;
 
+
                     if(field.name == this.fmIDL.pkey && this.mode == 'create' && this.fmIDL.pkey_sequence)
                         continue; /* don't show auto-generated fields on create */
 

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js	2010-02-19 04:12:36 UTC (rev 15596)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js	2010-02-19 16:03:23 UTC (rev 15597)
@@ -33,7 +33,7 @@
                 this.inherited(arguments);
                 this.initAutoEnv();
                 var realFieldList = this.sortedFieldList.filter(
-                    function(item) { return !item.virtual; });
+                    function(item) { return !(item.virtual || item.nonIdl); });
                 this.fieldStore = new dojo.data.ItemFileReadStore({
                     data : {
                         identifier : 'name',



More information about the open-ils-commits mailing list