diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-11-16 17:10:07 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-16 17:10:07 -0800 |
commit | 4090933e1de8cae6ed89794a5bbacf3b3ed434d5 (patch) | |
tree | 99c470209a1d10dd7f9e03febec54026e04fb96c /httemplate/elements/popup-topreload.html | |
parent | c67eaf049134e6f7ab9fe8d33d043d7d397008f3 (diff) |
oops, necessary for recent UI work
Diffstat (limited to 'httemplate/elements/popup-topreload.html')
-rw-r--r-- | httemplate/elements/popup-topreload.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/elements/popup-topreload.html b/httemplate/elements/popup-topreload.html new file mode 100644 index 000000000..00d5cdf50 --- /dev/null +++ b/httemplate/elements/popup-topreload.html @@ -0,0 +1,21 @@ +<%doc> + +Example: + + <& /elements/popup-topreload, mt('Action completed') &> + +</%doc> +<& /elements/header-popup.html, encode_entities($message) &> + <script src="<% $fsurl %>elements/js.cookie.js"></script> + <SCRIPT TYPE="text/javascript"> + Cookies.set('freeside_status', <% $message |js_string %>,{ + expires: 0.0035 + }); + topreload(); + </SCRIPT> +<& /elements/footer-popup.html &> +<%init> + +my $message = shift; + +</%init> |