aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/msg-header.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-07 15:30:59 -0800
committerfriendica <info@friendica.com>2013-11-07 15:30:59 -0800
commitcb37c0ce1421ecf5ddd00baee39b227307bb10b5 (patch)
treefca63a2c1300f35292bdc4de5c954d70aa02a6c0 /view/tpl/msg-header.tpl
parent7381326b7a7a271da52464d15774a1309adb2bd5 (diff)
downloadvolse-hubzilla-cb37c0ce1421ecf5ddd00baee39b227307bb10b5.tar.gz
volse-hubzilla-cb37c0ce1421ecf5ddd00baee39b227307bb10b5.tar.bz2
volse-hubzilla-cb37c0ce1421ecf5ddd00baee39b227307bb10b5.zip
make PM expiry UI match the main post editor, e.g. JS input triggered by an icon rather than a scary looking text field
Diffstat (limited to 'view/tpl/msg-header.tpl')
-rwxr-xr-xview/tpl/msg-header.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl
index 5e2597605..79f9e23c1 100755
--- a/view/tpl/msg-header.tpl
+++ b/view/tpl/msg-header.tpl
@@ -85,6 +85,13 @@ else
}
}
+ function prvmailGetExpiry() {
+ reply = prompt("{{$expireswhen}}", $('#inp-prvmail-expires').val());
+ if(reply && reply.length) {
+ $('#inp-prvmail-expires').val(reply);
+ }
+ }
+
function linkdropper(event) {
var linkFound = event.dataTransfer.types.contains("text/uri-list");
if(linkFound)