[open-ils-commits] r17391 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 30 13:39:31 EDT 2010
Author: erickson
Date: 2010-08-30 13:39:27 -0400 (Mon, 30 Aug 2010)
New Revision: 17391
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Log:
added option (suppressEditFields) to suppress fields from an autogrid's EditPane
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js 2010-08-30 17:27:38 UTC (rev 17390)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js 2010-08-30 17:39:27 UTC (rev 17391)
@@ -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