LP #1765434 Browser refresh closes purchase order
authorTiffany Little <tlittle@georgialibraries.org>
Mon, 18 Mar 2019 17:51:03 +0000 (13:51 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 22 Oct 2019 17:58:02 +0000 (13:58 -0400)
Adds a Refresh button to refresh the iframe in place.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>

Open-ILS/src/templates/staff/share/t_eframe.tt2

index 1a117fa..de065be 100644 (file)
@@ -1,5 +1,6 @@
 <div class="eg-embed-frame">
   <button type="button" class="btn btn-default btn-xs" ng-show="allowEscape &&  showIframe" ng-click="escapeEmbed()">[% l('Open in New Window') %]</button>
+  <button type="button" class="btn btn-default btn-xs" ng-show="allowEscape &&  showIframe" ng-click="restoreEmbed()">[% l('Refresh') %]</button>
   <button type="button" class="btn btn-default btn-xs" ng-show="allowEscape && !showIframe" ng-click="restoreEmbed()">[% l('Re-embed') %]</button>
   <!--
     'src' is replaced by the controller, after linking, and as soon as a