Fixed bug #15536: DebugConsole - Compat with ExtJS 3.2.x (broken resize event and...
authorSteffen Kamper <info@sk-typo3.de>
Mon, 23 Aug 2010 21:29:00 +0000 (21:29 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 23 Aug 2010 21:29:00 +0000 (21:29 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8653 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/extjs/debugPanel.js
typo3/js/extjs/viewport.js

index 9a11fd4..d0e15e0 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2010-08-23 Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #15536: DebugConsole - Compat with ExtJS 3.2.x (broken resize event and double split bar) (Thanks to Stefan Galinski)
        * Updated sysexts version numbers and md5 values
        * Added feature #15513: Log ExtDirect Exceptions in DebugConsole (Thanks to Stefan Galinski)
 
index 2a6f892..3344ec0 100644 (file)
@@ -177,7 +177,7 @@ TYPO3.DebugPanel = Ext.extend(Ext.TabPanel, {
                        } else {
                                if (!this.items.getCount()) {
                                        this.hide();
-                                       this.fireEvent('resize');
+                                       this.ownerCt.fireEvent('resize');
                                }
                                this.tabGroups.removeKey(element.title);
                        }
index e81c826..20a9da6 100644 (file)
@@ -100,25 +100,7 @@ TYPO3.Viewport = Ext.extend(Ext.Viewport, {
                this.NavigationContainer = Ext.ComponentMgr.get('typo3-navigationContainer');
                this.Topbar = Ext.ComponentMgr.get('typo3-topbar');
                this.ModuleMenuContainer = Ext.ComponentMgr.get('typo3-module-menu');
-
-               // adds the debug console and some listeners to consider the initial hiding of
-               // the debug console (the viewport needs to be resized if it's expand/collapse)
-               // -> see the TYPO3.BackendSizeManager
                this.DebugConsole = Ext.ComponentMgr.get('typo3-debug-console');
-               this.DebugConsole.addListener({
-                       'resize': {
-                               scope: this,
-                               fn: function() {
-                                       this.fireEvent('resize');
-                               }
-                       },
-                       'collapse': {
-                               scope: this,
-                               fn: function() {
-                                       this.fireEvent('resize');
-                               }
-                       }
-               });
        },
 
        /**