From: senator Date: Fri, 10 Sep 2010 02:12:10 +0000 (+0000) Subject: Backport r17391 from trunk, in support of the next commit I'll make X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ebd08956720e7a2fa61cbc17b62cade6090b0ec5;p=Evergreen.git Backport r17391 from trunk, in support of the next commit I'll make git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@17562 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js index 8f70175b23..923c9b4466 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js @@ -20,6 +20,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { editStyle : 'dialog', editReadOnly : false, suppressFields : null, + suppressEditFields : null, hideSelector : false, selectorWidth : '1.5', showColumnPicker : false, @@ -384,6 +385,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { 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 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { overrideWidgetArgs : this.overrideWidgetArgs, disableWidgetTest : this.disableWidgetTest, requiredFields : this.requiredFields, + suppressFields : this.suppressEditFields, onPostSubmit : function(req, cudResults) { var fmObject = cudResults[0]; if(grid.onPostCreate)