summaryrefslogtreecommitdiff
path: root/httemplate/elements/topreload.js
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-11-13 12:45:15 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-06-19 09:24:18 -0400
commitd65053a0357531b623d0ff715d3426301f242b2c (patch)
treeabf48d185222f1cf76fd36fc8363eb55d7857aab /httemplate/elements/topreload.js
parent20bfaf53d36f64261b9c6fe7a548b64ad40f5868 (diff)
RT# 77470 - added reason option to advanced package report with suspended status is selected. Also added links to suspend and unsuspend when status active or suspended is used.
Conflicts: FS/FS/cust_pkg/Search.pm httemplate/elements/tr-select-reason.html httemplate/elements/tr-td-label.html
Diffstat (limited to 'httemplate/elements/topreload.js')
-rw-r--r--httemplate/elements/topreload.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/elements/topreload.js b/httemplate/elements/topreload.js
new file mode 100644
index 000000000..84faee05c
--- /dev/null
+++ b/httemplate/elements/topreload.js
@@ -0,0 +1,6 @@
+ window.topreload = function() {
+ if (window != window.top) {
+ window.top.location.reload();
+ }
+ }
+ \ No newline at end of file