mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX #3429: Fixed CMS change detection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71024 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9086994807
commit
623e10d301
@ -594,9 +594,12 @@ ChangeTracker.prototype = {
|
||||
var elements = Form.getElements(this);
|
||||
var i, element;
|
||||
for(i=0;element=elements[i];i++) {
|
||||
// NOTE: TinyMCE coupling
|
||||
// Ignore mce-generated elements
|
||||
if(element.className.substr(0,3) == 'mce') continue;
|
||||
|
||||
if(!element.isChanged) element.isChanged = this.field_changed;
|
||||
if(!this.changeDetection_fieldsToIgnore[element.name] && element.isChanged()) {
|
||||
|
||||
//if( window.location.href.match( /^https?:\/\/dev/ ) )
|
||||
// Debug.log('Changed:'+ element.id + '(' + this.originalSerialized +')->('+Form.Element.serialize(element)+')' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user