Bug #22484 ยป 14151_v1.diff
typo3/js/extjs/viewport.js (working copy) | ||
---|---|---|
/**
|
||
* Initializes the ExtJS viewport with the given configuration.
|
||
*
|
||
* @param configuration object configuration of the viewport
|
||
* @return void
|
||
*/
|
||
initComponent: function() {
|
||
//adjust the width of module menu
|
||
// adjust the width of module menu
|
||
this.initialConfig.items[1].width = TYPO3.configuration.moduleMenuWidth;
|
||
//call parent constructor
|
||
|
||
// call parent constructor
|
||
TYPO3.Viewport.superclass.initComponent.apply(this, arguments);
|
||
|
||
this.ContentContainer = Ext.ComponentMgr.get('typo3-contentContainer');
|
||
... | ... | |
this.NavigationContainer.hide();
|
||
}
|
||
|
||
// top.currentSubScript
|
||
// append the typo3 path if it wasn't already applied
|
||
// this is important for backwards compatibility (e.g. shortcuts)
|
||
if (contentScript.indexOf(top.TS.PATH_typo3) !== 0) {
|
||
contentScript = top.TS.PATH_typo3 + contentScript;
|
||
}
|
||
|
||
Ext.get('content').set({
|
||
src: top.TS.PATH_typo3 + contentScript
|
||
src: contentScript
|
||
});
|
||
|
||
this.NavigationContainer.ownerCt.doLayout();
|
typo3/classes/class.modulemenu.php (working copy) | ||
---|---|---|
top.content.nav_frame.location = top.getModuleUrl(top.TS.PATH_typo3 + navFrames[mainModName]);
|
||
}
|
||
} else {
|
||
TYPO3.Backend.loadModule(mainModName, modName, top.getModuleUrl(modScriptURL));
|
||
TYPO3.Backend.loadModule(mainModName, modName, modScriptURL);
|
||
}
|
||
} else if (modScriptURL) {
|
||
TYPO3.Backend.loadModule(mainModName, modName, top.getModuleUrl(modScriptURL + additionalGetVariables));
|