aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_settings.js
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-01 12:32:15 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-01 12:32:15 +0100
commit9557908875af76d167797a36e980798349fc63b5 (patch)
tree8033d8edd0a16ae3d176080ca360d4eb414277ed /view/js/mod_settings.js
parent93b94704878c1b66ee95987de2b24dc39163763a (diff)
downloadvolse-hubzilla-9557908875af76d167797a36e980798349fc63b5.tar.gz
volse-hubzilla-9557908875af76d167797a36e980798349fc63b5.tar.bz2
volse-hubzilla-9557908875af76d167797a36e980798349fc63b5.zip
Warn about unsaved settings using jquery.areyousure
Diffstat (limited to 'view/js/mod_settings.js')
-rw-r--r--view/js/mod_settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js
index 87c8c3a2b..ff859936a 100644
--- a/view/js/mod_settings.js
+++ b/view/js/mod_settings.js
@@ -2,6 +2,7 @@
var ispublic = aStr['everybody'] ;
$(document).ready(function() {
+ $('form').areYouSure(); // Warn user about unsaved settings
$("a#settings-default-perms-menu").colorbox({
'inline' : true,