aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_profiles.js
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2015-01-02 12:10:27 +1100
committerRedMatrix <info@friendica.com>2015-01-02 12:10:27 +1100
commitdb811ca975e6880ff6540a61c216e7e2432ea75e (patch)
treecd643f63d36936d7b9d475547cf6acb58df5aaff /view/js/mod_profiles.js
parentb54235234fdba83bc4505672e65ad94fbdbccb62 (diff)
parent9557908875af76d167797a36e980798349fc63b5 (diff)
downloadvolse-hubzilla-db811ca975e6880ff6540a61c216e7e2432ea75e.tar.gz
volse-hubzilla-db811ca975e6880ff6540a61c216e7e2432ea75e.tar.bz2
volse-hubzilla-db811ca975e6880ff6540a61c216e7e2432ea75e.zip
Merge pull request #804 from pafcu/areyousure
Warn about unsaved settings using jquery.areyousure
Diffstat (limited to 'view/js/mod_profiles.js')
-rw-r--r--view/js/mod_profiles.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/js/mod_profiles.js b/view/js/mod_profiles.js
new file mode 100644
index 000000000..aad2ca902
--- /dev/null
+++ b/view/js/mod_profiles.js
@@ -0,0 +1,3 @@
+$(document).ready(function() {
+ $('form').areYouSure(); // Warn user about unsaved settings
+});