Bug #22479 » 14144.diff
typo3/js/backendsearch.js (working copy) | ||
---|---|---|
initialize: function() {
|
||
Event.observe(window, 'resize', this.positionMenu);
|
||
Event.observe(window, 'load', function(){
|
||
Ext.onReady(function() {
|
||
this.positionMenu();
|
||
this.toolbarItemIcon = $$('#backend-search-menu .toolbar-item img')[0].src;
|
||
... | ... | |
}.bindAsEventListener(this));
|
||
$$('#backend-search-menu .toolbar-item')[0].observe('click', this.toggleMenu)
|
||
}.bindAsEventListener(this));
|
||
}, this);
|
||
},
|
||
/**
|
||
... | ... | |
positionMenu: function() {
|
||
var calculatedOffset = 0;
|
||
var parentWidth = $('backend-search-menu').getWidth();
|
||
var ownWidth = $$('#backend-search-menu div')[0].getWidth();
|
||
var currentToolbarItemLayer = $$('#backend-search-menu div')[0];
|
||
var ownWidth = currentToolbarItemLayer.getWidth();
|
||
var parentSiblings = $('backend-search-menu').previousSiblings();
|
||
parentSiblings.each(function(toolbarItem) {
|
||
... | ... | |
calculatedOffset -= 1;
|
||
}
|
||
});
|
||
// border correction
|
||
if (currentToolbarItemLayer.getStyle('display') !== 'none') {
|
||
calculatedOffset += 2;
|
||
}
|
||
calculatedOffset = calculatedOffset - ownWidth + parentWidth;
|
||
typo3/js/extjs/viewportConfiguration.js (working copy) | ||
---|---|---|
border: false,
|
||
items: [{
|
||
region: 'north',
|
||
id: 'typo3-toolbar',
|
||
id: 'typo3-topbar',
|
||
contentEl: 'typo3-top-container',
|
||
border: false
|
||
}, {
|
typo3/js/extjs/backendsizemanager.js (working copy) | ||
---|---|---|
TYPO3.BackendSizeManager = function() {
|
||
var resizeBackend = function() {
|
||
var viewportHeight = document.viewport.getHeight();
|
||
var topHeight = Ext.get('typo3-toolbar').getHeight();
|
||
var topHeight = Ext.get('typo3-topbar').getHeight();
|
||
var styles = {
|
||
height: (viewportHeight - topHeight) + 'px'
|
||
}
|
typo3/js/extjs/viewport.js (working copy) | ||
---|---|---|
navigationWidgetMetaData: {},
|
||
|
||
/**
|
||
* The toolbar area
|
||
* The topbar area
|
||
*
|
||
* @var Ext.Panel
|
||
*/
|
||
Toolbar: null,
|
||
TopbBar: null,
|
||
|
||
/**
|
||
* The content area
|
||
... | ... | |
|
||
this.ContentContainer = Ext.ComponentMgr.get('typo3-contentContainer');
|
||
this.NavigationContainer = Ext.ComponentMgr.get('typo3-navigationContainer');
|
||
this.Toolbar = Ext.ComponentMgr.get('typo3-toolbar');
|
||
this.TopbBar = Ext.ComponentMgr.get('typo3-topbar');
|
||
this.ModuleMenuContainer = Ext.ComponentMgr.get('typo3-module-menu');
|
||
|
||
},
|
||
|
||
/**
|
typo3/js/workspacemenu.js (working copy) | ||
---|---|---|
initialize: function() {
|
||
Event.observe(window, 'resize', this.positionMenu);
|
||
Event.observe(window, 'load', function(){
|
||
Ext.onReady(function() {
|
||
this.positionMenu();
|
||
Event.observe('workspace-selector-menu', 'click', this.toggleMenu);
|
||
... | ... | |
Event.observe(element, 'click', this.switchWorkspace.bind(this));
|
||
}.bindAsEventListener(this));
|
||
}.bindAsEventListener(this));
|
||
}, this);
|
||
},
|
||
/**
|
||
... | ... | |
positionMenu: function() {
|
||
var calculatedOffset = 0;
|
||
var parentWidth = $('workspace-selector-menu').getWidth();
|
||
var ownWidth = $$('#workspace-selector-menu ul')[0].getWidth();
|
||
var currentToolbarItemLayer = $$('#workspace-selector-menu ul')[0];
|
||
var ownWidth = currentToolbarItemLayer.getWidth();
|
||
var parentSiblings = $('workspace-selector-menu').previousSiblings();
|
||
parentSiblings.each(function(toolbarItem) {
|
||
... | ... | |
calculatedOffset -= 1;
|
||
}
|
||
});
|
||
// border correction
|
||
if (currentToolbarItemLayer.getStyle('display') !== 'none') {
|
||
calculatedOffset += 2;
|
||
}
|
||
calculatedOffset = calculatedOffset - ownWidth + parentWidth;
|
||
typo3/js/clearcachemenu.js (working copy) | ||
---|---|---|
initialize: function() {
|
||
Event.observe(window, 'resize', this.positionMenu);
|
||
Event.observe(window, 'load', function(){
|
||
Ext.onReady(function() {
|
||
this.positionMenu();
|
||
this.toolbarItemIcon = $$('#clear-cache-actions-menu .toolbar-item img')[0].src;
|
||
... | ... | |
$$('#clear-cache-actions-menu li a').each(function(element) {
|
||
Event.observe(element, 'click', this.clearCache.bind(this));
|
||
}.bindAsEventListener(this));
|
||
}.bindAsEventListener(this));
|
||
}, this);
|
||
},
|
||
/**
|
||
... | ... | |
positionMenu: function() {
|
||
var calculatedOffset = 0;
|
||
var parentWidth = $('clear-cache-actions-menu').getWidth();
|
||
var ownWidth = $$('#clear-cache-actions-menu ul')[0].getWidth();
|
||
var currentToolbarItemLayer = $$('#clear-cache-actions-menu ul')[0];
|
||
var ownWidth = currentToolbarItemLayer.getWidth();
|
||
var parentSiblings = $('clear-cache-actions-menu').previousSiblings();
|
||
parentSiblings.each(function(toolbarItem) {
|
||
... | ... | |
calculatedOffset -= 1;
|
||
}
|
||
});
|
||
// border correction
|
||
if (currentToolbarItemLayer.getStyle('display') !== 'none') {
|
||
calculatedOffset += 2;
|
||
}
|
||
calculatedOffset = calculatedOffset - ownWidth + parentWidth;
|
||
typo3/js/shortcutmenu.js (working copy) | ||
---|---|---|
initialize: function() {
|
||
Event.observe(window, 'resize', this.positionMenu);
|
||
Event.observe(window, 'load', function(){
|
||
Ext.onReady(function() {
|
||
this.positionMenu();
|
||
this.toolbarItemIcon = $$('#shortcut-menu .toolbar-item img')[0].src;
|
||
Event.observe($$('#shortcut-menu .toolbar-item')[0], 'click', this.toggleMenu);
|
||
this.initControls();
|
||
}.bindAsEventListener(this));
|
||
}, this);
|
||
},
|
||
/**
|
||
... | ... | |
positionMenu: function() {
|
||
var calculatedOffset = 0;
|
||
var parentWidth = $('shortcut-menu').getWidth();
|
||
var ownWidth = $$('#shortcut-menu .toolbar-item-menu')[0].getWidth();
|
||
var currentToolbarItemLayer = $$('#shortcut-menu .toolbar-item-menu')[0];
|
||
var ownWidth = currentToolbarItemLayer.getWidth();
|
||
var parentSiblings = $('shortcut-menu').previousSiblings();
|
||
parentSiblings.each(function(toolbarItem) {
|
||
... | ... | |
calculatedOffset -= 1;
|
||
}
|
||
});
|
||
// border correction
|
||
if (currentToolbarItemLayer.getStyle('display') !== 'none') {
|
||
calculatedOffset += 2;
|
||
}
|
||
calculatedOffset = calculatedOffset - ownWidth + parentWidth;
|
||
typo3/css/backend-scaffolding.css (working copy) | ||
---|---|---|
width: 159px;
|
||
}
|
||
#typo3-toolbar div {
|
||
#typo3-topbar {
|
||
z-index: 200;
|
||
}
|
||
#typo3-topbar div {
|
||
overflow: visible !important;
|
||
}
|
||
typo3/sysext/opendocs/opendocs.js (working copy) | ||
---|---|---|
initialize: function() {
|
||
Event.observe(window, 'resize', this.positionMenu);
|
||
Event.observe(window, 'load', function(){
|
||
Ext.onReady(function() {
|
||
this.positionMenu();
|
||
this.toolbarItemIcon = $$('#tx-opendocs-menu .toolbar-item img')[0].src;
|
||
this.ajaxScript = top.TS.PATH_typo3 + this.ajaxScript; // can't be initialized earlier
|
||
... | ... | |
Event.observe($$('#tx-opendocs-menu .toolbar-item')[0], 'click', this.toggleMenu);
|
||
this.menu = $$('#tx-opendocs-menu .toolbar-item-menu')[0];
|
||
this.toolbarItemIcon = $$('#shortcut-menu .toolbar-item img')[0].src;
|
||
}.bindAsEventListener(this));
|
||
}, this);
|
||
},
|
||
/**
|
||
... | ... | |
positionMenu: function() {
|
||
var calculatedOffset = 0;
|
||
var parentWidth = $('tx-opendocs-menu').getWidth();
|
||
var ownWidth = $$('#tx-opendocs-menu .toolbar-item-menu')[0].getWidth();
|
||
var currentToolbarItemLayer = $$('#tx-opendocs-menu .toolbar-item-menu')[0];
|
||
var ownWidth = currentToolbarItemLayer.getWidth();
|
||
var parentSiblings = $('tx-opendocs-menu').previousSiblings();
|
||
parentSiblings.each(function(toolbarItem) {
|
||
... | ... | |
calculatedOffset -= 1;
|
||
}
|
||
});
|
||
// border correction
|
||
if (currentToolbarItemLayer.getStyle('display') !== 'none') {
|
||
calculatedOffset += 2;
|
||
}
|
||
calculatedOffset = calculatedOffset - ownWidth + parentWidth;
|
||
typo3/sysext/sys_action/toolbarmenu/tx_sysactions.js (working copy) | ||
---|---|---|
initialize: function() {
|
||
Event.observe(window, 'resize', this.positionMenu);
|
||
Event.observe(window, 'load', function(){
|
||
Ext.onReady(function() {
|
||
this.positionMenu();
|
||
this.toolbarItemIcon = $$('#tx-sys-action-menu .toolbar-item img')[0].src;
|
||
Event.observe('tx-sys-action-menu', 'click', this.toggleMenu);
|
||
}.bindAsEventListener(this));
|
||
}, this);
|
||
},
|
||
/**
|
||
... | ... | |
positionMenu: function() {
|
||
var calculatedOffset = 0;
|
||
var parentWidth = $('tx-sys-action-menu').getWidth();
|
||
var ownWidth = $$('#tx-sys-action-menu ul')[0].getWidth();
|
||
var currentToolbarItemLayer = $$('#tx-sys-action-menu ul')[0];
|
||
var ownWidth = currentToolbarItemLayer.getWidth();
|
||
var parentSiblings = $('tx-sys-action-menu').previousSiblings();
|
||
parentSiblings.each(function(toolbarItem) {
|
||
... | ... | |
calculatedOffset -= 1;
|
||
}
|
||
});
|
||
// border correction
|
||
if (currentToolbarItemLayer.getStyle('display') !== 'none') {
|
||
calculatedOffset += 2;
|
||
}
|
||
calculatedOffset = calculatedOffset - ownWidth + parentWidth;
|
||
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »