Followup to #11539: Split view / initial height calculated right
authortolleiv <tolleiv@743128fe-103e-dd11-99c4-001b210b3e58>
Sat, 22 Jan 2011 12:02:29 +0000 (12:02 +0000)
committertolleiv <tolleiv@743128fe-103e-dd11-99c4-001b210b3e58>
Sat, 22 Jan 2011 12:02:29 +0000 (12:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/workspaces/trunk@3941 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/workspaces/ChangeLog
typo3/sysext/workspaces/Resources/Private/Layouts/popup.html

index a2967cf..8508179 100644 (file)
@@ -1,5 +1,6 @@
 2011-01-21  Tolleiv Nietsch <typo3@tolleiv.de>
        
+       * Followup to #11539: Split view / initial height calculated right
        * Followup to #11539: Split view / tooltip styling added
 
 2011-01-21  Tolleiv Nietsch <typo3@tolleiv.de>
index 3559e16..89dd194 100644 (file)
@@ -10,9 +10,9 @@
                        // poor way to avoid that we require any scrollbars within the frames
                var finalHeight = height * 1.1;
                Ext.getCmp('visualPanel').setHeight(finalHeight);
-               Ext.getCmp('liveContainer').setHeight((100-Ext.getCmp('sizeSlider').getValue()/100) * finalHeight);
                Ext.getCmp('wsContainer').setHeight(finalHeight);
                Ext.getCmp('wsPanel').setHeight(finalHeight);
+               Ext.getCmp('liveContainer').setHeight(finalHeight * (100 - Ext.getCmp('sizeSlider').getValue()) / 100);
                Ext.getCmp('livePanel').setHeight(finalHeight);
        }
 </script>