Revert "LP#1740412 Grid cell content tooltips"
authorJason Stephenson <jason@sigio.com>
Wed, 10 Oct 2018 19:47:46 +0000 (15:47 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 10 Oct 2018 19:47:46 +0000 (15:47 -0400)
This reverts commit b1e0da12b30a3a960fe7834f5862c02f5828846f.

Remove tooltips functionality that causes performance hit.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/templates/staff/css/style.css.tt2
Open-ILS/src/templates/staff/share/t_autogrid.tt2

index 183d848..9213e8c 100644 (file)
@@ -421,14 +421,6 @@ table.list tr.selected td { /* deprecated? */
   box-shadow: none;
 }
 
-.eg-grid-tooltip {
-  font-size: 110%;
-}
-/* avoid visited "blue" links over black background */
-.eg-grid-tooltip a {
-  color: white;
-}
-
 
 /* ----------------------------------------------------------------------
  * /Grid
index 8e07c7b..cf48ed8 100644 (file)
           <!-- if the cell comes with its own template,
                translate that content into HTML and insert it here -->
           <span ng-if="col.template" style="padding-left:5px; padding-right:10px;"
-            ng-init="html_value=translateCellTemplate(col, item)">
-            <span uib-tooltip-html="html_value" tooltip-class="eg-grid-tooltip">
-              <span ng-bind-html="html_value"></span>
-            </span>
+            ng-bind-html="translateCellTemplate(col, item)">
           </span>
 
           <!-- otherwise, simply display the item value, which may 
                pass through datatype-specific filtering. -->
-          <span ng-if="!col.template" 
-            ng-init="text_value = (itemFieldValue(item, col) | egGridValueFilter:col:item)"
-            uib-tooltip="{{text_value}}"
-            tooltip-class="eg-grid-tooltip"
-            style="padding-left:5px; padding-right:10px;">
-            {{text_value}}
+          <span ng-if="!col.template" style="padding-left:5px; padding-right:10px;">
+            {{itemFieldValue(item, col) | egGridValueFilter:col:item}}
           </span>
       </div>
     </div>