Use ExtDirect Stateprovider
authorSteffen Kamper <info@sk-typo3.de>
Tue, 21 Dec 2010 17:11:18 +0000 (17:11 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 21 Dec 2010 17:11:18 +0000 (17:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9865 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/extjs/iframepanel.js

index ece27f9..2760285 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-21  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #16802: iFramePanel needs function to detect id in URL
+
 2010-12-21  Jigal van Hemert <jigal@xs4all.nl>
 
        * Fixed bug #16795: t3lib_div::unQuoteFilenames fails to detect quotes properly (Thanks to Joerg Wagner, Steffen Ritter, Steffen Gebert, and others)
index 40d0e91..a2a081a 100644 (file)
@@ -87,6 +87,11 @@ TYPO3.iframePanel = Ext.extend(Ext.Panel, {
                this.body.dom.src = this.src;
        },
 
+       getIdFromUrl: function() {
+               var url = Ext.urlDecode(this.getUrl().split('?')[1]);
+           return url.id;
+       },
+
        refresh: function() {
                if (!this.isVisible()) {
             return;