diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 536a9fde..674a2012 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -606,9 +606,6 @@ ChangeTracker.prototype = { if(!element.isChanged) element.isChanged = this.field_changed; if(!this.changeDetection_fieldsToIgnore[element.name] && element.isChanged()) { - //console.log('Changed:'+ element.id + '(' + this.originalSerialized +')->('+Form.Element.serialize(element)+')' ); - //console.log(element) - return true; } } diff --git a/javascript/WidgetAreaEditor.js b/javascript/WidgetAreaEditor.js index 51f5c573..14de3b12 100644 --- a/javascript/WidgetAreaEditor.js +++ b/javascript/WidgetAreaEditor.js @@ -63,19 +63,14 @@ WidgetAreaEditorClass.prototype = { if (!widget.getAttribute('rewritten') && (widget.id || widget.name)) { if (widget.id && widget.id.indexOf('Widget[') === 0) { var newValue = widget.id.replace(/Widget\[/, 'Widget['+name+']['); - //console.log('Renaming '+widget.tagName+' ID '+widget.id+' to '+newValue); widget.id = newValue; } if (widget.name && widget.name.indexOf('Widget[') === 0) { var newValue = widget.name.replace(/Widget\[/, 'Widget['+name+']['); - //console.log('Renaming '+widget.tagName+' Name '+widget.name+' to '+newValue); widget.name = newValue; } widget.setAttribute('rewritten', 'yes'); } - else { - //console.log('Skipping '+(widget.id ? widget.id : (widget.name ? widget.name : 'unknown '+widget.tagName))); - } } }