make areYouSure alert also if default post perms change
This commit is contained in:
parent
00d7ea90a2
commit
1d59924f4d
@ -54,9 +54,12 @@ ACL.prototype.on_submit = function(){
|
||||
});
|
||||
$(that.deny_cid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='contact_deny[]' value='"+v+"'>");
|
||||
});
|
||||
});
|
||||
// alert(aclfileds);
|
||||
|
||||
//areYouSure jquery plugin: recheck the form here
|
||||
$('form').trigger('checkform.areYouSure');
|
||||
|
||||
}
|
||||
|
||||
ACL.prototype.search = function(){
|
||||
|
@ -2,7 +2,7 @@
|
||||
var ispublic = aStr['everybody'] ;
|
||||
|
||||
$(document).ready(function() {
|
||||
$('form').areYouSure(); // Warn user about unsaved settings
|
||||
$('form').areYouSure({'addRemoveFieldsMarksDirty':true}); // Warn user about unsaved settings
|
||||
|
||||
$("#id_permissions_role").change(function() {
|
||||
var role = $("#id_permissions_role").val();
|
||||
|
Reference in New Issue
Block a user