X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/src/panel/Tool.js diff --git a/src/panel/Tool.js b/src/panel/Tool.js index 3f2798e9..8564a1b7 100644 --- a/src/panel/Tool.js +++ b/src/panel/Tool.js @@ -152,7 +152,7 @@ Ext.define('Ext.panel.Tool', { 'up' ]; - if (me.id && Ext.Array.indexOf(types, me.id) > -1) { + if (me.id && Ext.Array.indexOf(types, me.id) > -1 && Ext.global.console) { Ext.global.console.warn('When specifying a tool you should use the type option, the id can conflict now that tool is a Component'); } //