mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Get rid of unsaved changes dialog in feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39811 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4f3e2216e0
commit
4211621504
@ -19,6 +19,21 @@ CommentTableField.prototype = {
|
||||
onkeypress : this.prepareSearch.bind(this)
|
||||
};
|
||||
|
||||
|
||||
|
||||
rules['#Form_EditForm'] = {
|
||||
changeDetection_fieldsToIgnore : {
|
||||
'ctf[start]' : true,
|
||||
'ctf[ID]' : true,
|
||||
'CommentFilterButton' : true,
|
||||
'CommentFieldName' : true,
|
||||
'Name' : true,
|
||||
'Comment' : true,
|
||||
'Page' : true,
|
||||
'CommentSearch' : true
|
||||
}
|
||||
}
|
||||
|
||||
Behaviour.register(rules);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user