[open-ils-commits] r12234 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 19 11:35:17 EST 2009
Author: erickson
Date: 2009-02-19 11:35:14 -0500 (Thu, 19 Feb 2009)
New Revision: 12234
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js
Log:
fixed action button when readonly hiding logic
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js 2009-02-19 16:07:39 UTC (rev 12233)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/EditPane.js 2009-02-19 16:35:14 UTC (rev 12234)
@@ -29,7 +29,8 @@
startup : function() {
this.inherited(arguments);
this.initAutoEnv();
- this.hideActionButtons = this.readOnly;
+ if(this.readOnly)
+ this.hideActionButtons = true;
var table = document.createElement('table');
var tbody = document.createElement('tbody');
More information about the open-ils-commits
mailing list