PINES Local Customization: Hide Set Default View Button
authorMcCanna <tmccanna@georgialibraries.org>
Wed, 23 May 2018 21:00:57 +0000 (17:00 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 19 Oct 2018 11:53:05 +0000 (07:53 -0400)
This hides the Set Default View button that is in the web staff client
on the catalog item pages. Clicking the button has caused white screen
problems that have not been resolved. (There is also a button on the Admin >
Workstation page, but that was hidden in a different local customization
patch.)

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/staff/cat/catalog/t_catalog.tt2

index c9b733d..685fedf 100644 (file)
 </ul>
 
 <div class="tab-content">
-  <div ng-disabled="record_tab == default_tab" class="btn btn-default btn-xs pull-right" ng-click="set_default_record_tab()">
+    <!-- PINES CUSTOMIZATION: Hide 'set default view' button because it causes white screen problems -->
+  <div ng-disabled="record_tab == default_tab" class="btn btn-default btn-xs pull-right" ng-click="set_default_record_tab()" style="display:none;">
     [% l('Set default view') %]
   </div>
   <div class="tab-pane active">