Merge pull request #804 from pafcu/areyousure
Warn about unsaved settings using jquery.areyousure
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
$(document).ready(function() {
|
||||
$('form').areYouSure(); // Warn user about unsaved settings
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
$(document).ready(function() {
|
||||
$('form').areYouSure(); // Warn user about unsaved settings
|
||||
});
|
||||
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user