diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-11-16 17:11:25 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-16 17:11:25 -0800 |
commit | dfb455957729b0a09e085853d3657b4b1d486cef (patch) | |
tree | 7c6664a273606c7a14c3362ce6c1f58f591df2b8 /httemplate/elements | |
parent | 230206b7fb2be0f68648b1cf5ef529fc4ab77f6c (diff) |
oops, necessary for recent UI work
Diffstat (limited to 'httemplate/elements')
-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> |