Merge pull request #804 from pafcu/areyousure

Warn about unsaved settings using jquery.areyousure
This commit is contained in:
RedMatrix
2015-01-02 12:10:27 +11:00
15 changed files with 1442 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
$(document).ready(function() {
$('form').areYouSure(); // Warn user about unsaved settings
});
+3
View File
@@ -0,0 +1,3 @@
$(document).ready(function() {
$('form').areYouSure(); // Warn user about unsaved settings
});
+1
View File
@@ -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,
+1
View File
@@ -44,6 +44,7 @@ head_add_js('docready.js');
head_add_js('library/colorbox/jquery.colorbox-min.js');
head_add_js('library/bootstrap-tagsinput/bootstrap-tagsinput.js');
head_add_js('library/jquery.AreYouSure/jquery.are-you-sure.js');
/**
* Those who require this feature will know what to do with it.
* Those who don't, won't.