aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-15 16:31:21 -0700
committerredmatrix <git@macgirvin.com>2016-07-15 16:31:21 -0700
commitf3aff45042096ab113b77492c0018d5e6b47c7e4 (patch)
treedaf992026629ed85afc6ff843243e1bd53b2d2cf /view/js
parentd6d94d94273a954735927179585ca4c0156d8a74 (diff)
downloadvolse-hubzilla-f3aff45042096ab113b77492c0018d5e6b47c7e4.tar.gz
volse-hubzilla-f3aff45042096ab113b77492c0018d5e6b47c7e4.tar.bz2
volse-hubzilla-f3aff45042096ab113b77492c0018d5e6b47c7e4.zip
provide examples for using access tokens in urls
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_settings.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js
index 640c154dd..0f45e0d16 100644
--- a/view/js/mod_settings.js
+++ b/view/js/mod_settings.js
@@ -5,6 +5,9 @@
$(document).ready(function() {
$('form').areYouSure({'addRemoveFieldsMarksDirty':true, 'message': aStr['leavethispage'] }); // Warn user about unsaved settings
+ $('.token-mirror').html($('#id_token').val());
+ $('#id_token').keyup( function() { $('.token-mirror').html($('#id_token').val()); });
+
$("#id_permissions_role").change(function() {
var role = $("#id_permissions_role").val();
if(role == 'custom')