diff --git a/core/docs/changelog.txt b/core/docs/changelog.txt index 9a0313cc1ca..659a65d0739 100755 --- a/core/docs/changelog.txt +++ b/core/docs/changelog.txt @@ -2,6 +2,7 @@ This file shows the changes in recent releases of MODX. The most current release is usually the development release, and is only shown to give an idea of what's currently in the pipeline. +- [#5665] Remove console.log debug references in JS - Add Media Sources, which allow abstraction of file management in MODX - [#2737] Centralize logic for changing Context of modResource Children - [#5068] Move token check for new resources below error validation in processor to prevent bogus duplicate resource issue diff --git a/manager/assets/modext/widgets/element/modx.panel.tv.js b/manager/assets/modext/widgets/element/modx.panel.tv.js index 57bd292f0e0..44ace69f41a 100644 --- a/manager/assets/modext/widgets/element/modx.panel.tv.js +++ b/manager/assets/modext/widgets/element/modx.panel.tv.js @@ -361,7 +361,7 @@ Ext.extend(MODx.panel.TVInputProperties,MODx.Panel,{ } ,scripts: true }); - } catch(e) {console.log(e);} + } catch(e) {MODx.debug(e);} } }); Ext.reg('modx-panel-tv-input-properties',MODx.panel.TVInputProperties); diff --git a/manager/assets/modext/widgets/security/modx.grid.actiondom.js b/manager/assets/modext/widgets/security/modx.grid.actiondom.js index 8ff89068734..586513e0baa 100644 --- a/manager/assets/modext/widgets/security/modx.grid.actiondom.js +++ b/manager/assets/modext/widgets/security/modx.grid.actiondom.js @@ -43,7 +43,6 @@ MODx.grid.ActionDom = function(config) { ,sortable: true ,editor: { xtype: 'modx-combo-rule-type' ,renderer: true } ,renderer: function(v,md) { - console.log(v); return Ext.util.Format.htmlEncode(v); } },{ diff --git a/manager/assets/modext/workspace/lexicon/lexicon.grid.js b/manager/assets/modext/workspace/lexicon/lexicon.grid.js index b324a4ce377..a9cace32c6d 100644 --- a/manager/assets/modext/workspace/lexicon/lexicon.grid.js +++ b/manager/assets/modext/workspace/lexicon/lexicon.grid.js @@ -398,7 +398,7 @@ MODx.window.ExportLexicon = function(config) { cle.store.baseParams['namespace'] = cb.getValue(); cle.setValue(''); cle.store.reload(); - } else {console.log('cle not found');} + } else {MODx.debug('cle not found');} },scope:this} } },{ @@ -454,7 +454,7 @@ MODx.window.LexiconEntryCreate = function(config) { cle.store.baseParams['namespace'] = cb.getValue(); cle.setValue(''); cle.store.reload(); - } else {console.log('cle not found');} + } else {MODx.debug('cle not found');} },scope:this} } },{