diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-11-03 11:19:22 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-11-03 11:19:22 +0100 |
commit | 43d80901825b95d881d4e072a9bd0898b0b8ab16 (patch) | |
tree | 10db0177f99292b695bc07ee92123ba79febd6db /view | |
parent | d13dae6b060ad1147426ae88791cac5970ab3b03 (diff) | |
download | volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.tar.gz volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.tar.bz2 volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.zip |
timeago() works best with iso format. fix #118
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 1 | ||||
-rw-r--r-- | view/js/mod_mail.js | 1 | ||||
-rwxr-xr-x | view/tpl/prv_message.tpl | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index acdc2e5f5..fd03802c5 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1156,7 +1156,6 @@ $(document).ready(function() { numbers : aStr['t17'], }; - $(".autotime").timeago(); $("#toc").toc(); }); diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js index 36b22138f..561df7229 100644 --- a/view/js/mod_mail.js +++ b/view/js/mod_mail.js @@ -2,4 +2,5 @@ $(document).ready(function() { $("#recip").name_autocomplete(baseurl + '/acl', '', false, function(data) { $("#recip-complete").val(data.xid); }); + $(".autotime").timeago() }); diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl index b0ea8b753..20f5df39a 100755 --- a/view/tpl/prv_message.tpl +++ b/view/tpl/prv_message.tpl @@ -31,7 +31,7 @@ <div class="form-group"> <label for="prvmail-text">{{$yourmessage}}</label> - <textarea class="form-control" id="prvmail-text" name="body"">{{$text}}</textarea> + <textarea class="form-control" id="prvmail-text" name="body">{{$text}}</textarea> </div> <div id="prvmail-submit-wrapper" class="form-group"> |