LP#1755543: Change placement of help popovers
authorKathy Lussier <klussier@masslnc.org>
Mon, 5 Nov 2018 20:50:24 +0000 (15:50 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 6 Nov 2018 14:33:30 +0000 (09:33 -0500)
Set the placement of help tip popovers so that they automatically position
to a visible place on the screen.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/share/t_help_popover.tt2

index 215400a..c07ee20 100644 (file)
@@ -1,10 +1,12 @@
 <span class="glyphicon glyphicon-question-sign"
       uib-popover="{{helpText}}"
       popover-trigger="click"
+      popover-placement="auto"
       ng-if="!helpLink || helpLink.length == 0"
 ></span>
 <span class="glyphicon glyphicon-question-sign"
       uib-popover-html="helpHtml"
       popover-trigger="click"
+      popover-placement="auto"
       ng-if="helpLink.length > 0"
 ></span>