diff options
author | friendica <info@friendica.com> | 2015-01-01 21:49:01 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-01 21:49:01 -0800 |
commit | 545e47933a0816699c68d98a7742a03260d6a54f (patch) | |
tree | 1590e642e1eb48c76dd7c82b4bab4bb93ddf344d /view/js | |
parent | 0286c5a35b7f6fb0f02e50110deb78ae66a028cf (diff) | |
parent | 9d4c4efb5176afe5284bc5c22df277510c64786b (diff) | |
download | volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.gz volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.bz2 volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_admin.js | 3 | ||||
-rw-r--r-- | view/js/mod_new_channel.js | 2 | ||||
-rw-r--r-- | view/js/mod_profiles.js | 3 | ||||
-rw-r--r-- | view/js/mod_settings.js | 5 |
4 files changed, 10 insertions, 3 deletions
diff --git a/view/js/mod_admin.js b/view/js/mod_admin.js new file mode 100644 index 000000000..aad2ca902 --- /dev/null +++ b/view/js/mod_admin.js @@ -0,0 +1,3 @@ +$(document).ready(function() { + $('form').areYouSure(); // Warn user about unsaved settings +}); diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js index 492267ff9..c4d5408f2 100644 --- a/view/js/mod_new_channel.js +++ b/view/js/mod_new_channel.js @@ -1,5 +1,5 @@ $(document).ready(function() { -// $("#privacy-role-select").sSelect(); +// $("#id_permissions_role").sSelect(); $("#newchannel-name").blur(function() { $("#name-spinner").spin('small'); var zreg_name = $("#newchannel-name").val(); 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 +}); diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js index 87c8c3a2b..0db0dd165 100644 --- a/view/js/mod_settings.js +++ b/view/js/mod_settings.js @@ -2,14 +2,15 @@ var ispublic = aStr['everybody'] ; $(document).ready(function() { + $('form').areYouSure(); // Warn user about unsaved settings $("a#settings-default-perms-menu").colorbox({ 'inline' : true, 'transition' : 'elastic' }); - $("#privacy-role-select").change(function() { - var role = $("#privacy-role-select").val(); + $("#id_permissions_role").change(function() { + var role = $("#id_permissions_role").val(); if(role == 'custom') $('#advanced-perm').show(); else |