From: erickson Date: Thu, 19 Feb 2009 16:35:14 +0000 (+0000) Subject: fixed action button when readonly hiding logic X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9f62c6a15899eb244e9a8f5937c806ec983a6ebf;p=Evergreen.git fixed action button when readonly hiding logic git-svn-id: svn://svn.open-ils.org/ILS/trunk@12234 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/EditPane.js b/Open-ILS/web/js/dojo/openils/widget/EditPane.js index 9b8100c358..1b308cb004 100644 --- a/Open-ILS/web/js/dojo/openils/widget/EditPane.js +++ b/Open-ILS/web/js/dojo/openils/widget/EditPane.js @@ -29,7 +29,8 @@ if(!dojo._hasResource['openils.widget.EditPane']) { 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');