mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT: Fields can be excluded from change tracking using a ".no-change-track" class.
This commit is contained in:
parent
9e6273ce9a
commit
304c3cd5d3
@ -18,6 +18,11 @@
|
||||
* Base edit form, provides ajaxified saving
|
||||
* and reloading itself through the ajax return values.
|
||||
* Takes care of resizing tabsets within the layout container.
|
||||
*
|
||||
* Change tracking is enabled on all fields within the form. If you want
|
||||
* to disable change tracking for a specific field, add a "no-change-track"
|
||||
* class to it.
|
||||
*
|
||||
* @name ss.Form_EditForm
|
||||
* @require jquery.changetracker
|
||||
*
|
||||
@ -40,7 +45,7 @@
|
||||
* (Object)
|
||||
*/
|
||||
ChangeTrackerOptions: {
|
||||
ignoreFieldSelector: '.ss-upload :input'
|
||||
ignoreFieldSelector: '.no-change-track, .ss-upload :input'
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user