fixed action button when readonly hiding logic
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Feb 2009 16:35:14 +0000 (16:35 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Feb 2009 16:35:14 +0000 (16:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12234 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/EditPane.js

index 9b8100c..1b308cb 100644 (file)
@@ -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');