teach edit pane and the (pending) pcrud filter code about local (non-IDL) fields...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 19 Feb 2010 16:03:23 +0000 (16:03 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 19 Feb 2010 16:03:23 +0000 (16:03 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15597 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/EditPane.js
Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js

index 525a4cd..d7a8dc8 100644 (file)
@@ -60,7 +60,8 @@ if(!dojo._hasResource['openils.widget.EditPane']) {
 
                 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 */
index a1cfe2b..5d9fb0c 100644 (file)
@@ -33,7 +33,7 @@ if(!dojo._hasResource['openils.widget.PCrudFilterDialog']) {
                 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',