aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-20 20:49:55 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-20 20:49:55 -0700
commit6bc2766d79388ce6f813c429348cbc50d9afadaa (patch)
tree4a858e585162c602072cbf18478753716c85a0f4 /view
parent53339d19a391e66635c21199484f1e4afa7b2ec7 (diff)
downloadvolse-hubzilla-6bc2766d79388ce6f813c429348cbc50d9afadaa.tar.gz
volse-hubzilla-6bc2766d79388ce6f813c429348cbc50d9afadaa.tar.bz2
volse-hubzilla-6bc2766d79388ce6f813c429348cbc50d9afadaa.zip
issue #162
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_settings.js2
-rwxr-xr-xview/tpl/js_strings.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js
index 9c1821494..5dac96940 100644
--- a/view/js/mod_settings.js
+++ b/view/js/mod_settings.js
@@ -6,7 +6,7 @@
var ispublic = aStr.everybody;
$(document).ready(function() {
- $('form').areYouSure({'addRemoveFieldsMarksDirty':true}); // Warn user about unsaved settings
+ $('form').areYouSure({'addRemoveFieldsMarksDirty':true, 'message': aStr['leavethispage'] }); // Warn user about unsaved settings
$("#id_permissions_role").change(function() {
var role = $("#id_permissions_role").val();
diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl
index c557b535d..2e7e85604 100755
--- a/view/tpl/js_strings.tpl
+++ b/view/tpl/js_strings.tpl
@@ -21,6 +21,7 @@
'rating_text' : "{{$rating_text}}",
'submit' : "{{$submit}}",
'linkurl' : "{{$linkurl}}",
+ 'leavethispage' : "{{$leavethispage}}",
't01' : "{{$t01}}",
't02' : "{{$t02}}",