[open-ils-commits] r17562 - branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Sep 9 22:12:13 EDT 2010


Author: senator
Date: 2010-09-09 22:12:10 -0400 (Thu, 09 Sep 2010)
New Revision: 17562

Modified:
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Log:
Backport r17391 from trunk, in support of the next commit I'll make


Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js	2010-09-09 22:17:02 UTC (rev 17561)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js	2010-09-10 02:12:10 UTC (rev 17562)
@@ -20,6 +20,7 @@
             editStyle : 'dialog',
             editReadOnly : false,
             suppressFields : null,
+            suppressEditFields : null,
             hideSelector : false,
             selectorWidth : '1.5',
             showColumnPicker : false,
@@ -384,6 +385,7 @@
                     overrideWidgetArgs : this.overrideWidgetArgs,
                     disableWidgetTest : this.disableWidgetTest,
                     requiredFields : this.requiredFields,
+                    suppressFields : this.suppressEditFields,
                     onPostSubmit : function() {
                         for(var i in fmObject._fields) {
                             var field = fmObject._fields[i];
@@ -424,6 +426,7 @@
                     overrideWidgetArgs : this.overrideWidgetArgs,
                     disableWidgetTest : this.disableWidgetTest,
                     requiredFields : this.requiredFields,
+                    suppressFields : this.suppressEditFields,
                     onPostSubmit : function(req, cudResults) {
                         var fmObject = cudResults[0];
                         if(grid.onPostCreate)



More information about the open-ils-commits mailing list