Project

General

Profile

Bug #24892 » 17407_v5.patch

Administrator Admin, 2011-02-04 00:04

View differences:

t3lib/js/extjs/components/pagetree/javascript/deletiondropzone.js (Arbeitskopie)
'</span>',
false
);
this.app.doLayout();
++this.amountOfDrops;
(function() {
......
this.setHeight(35);
this.updateText(TYPO3.Components.PageTree.LLL.dropToRemove, false);
this.updateIcon(TYPO3.Components.PageTree.Sprites.TrashCan);
this.app.doLayout();
},
/**
......
}
this.setHeight(35);
this.updateText(TYPO3.Components.PageTree.LLL.dropZoneElementRestored);
this.app.doLayout();
(function() {
if (this.textClickHandler) {
t3lib/js/extjs/components/pagetree/javascript/tree.js (Arbeitskopie)
/**
* Main applicaton
*
*
* @cfg {TYPO3.Components.PageTree.App}
*/
app: null,
......
stopDd: function() {
if (this.deletionDropZoneId) {
Ext.getCmp(this.deletionDropZoneId).hide();
this.app.doLayout();
}
},
......
(nodeHasChildNodes && TYPO3.Components.PageTree.Configuration.canDeleteRecursivly)
)) {
Ext.getCmp(this.deletionDropZoneId).show();
this.app.doLayout();
}
this.initDDProxyElement();
},
t3lib/js/extjs/components/pagetree/javascript/app.js (Arbeitskopie)
activeTree: null,
/**
* Listeners
*
* The afterlayout wizard relayoutes the navigation container to fix some nasty
* scrollbar issues.
*
* @type {Object}
*/
listeners: {
afterlayout: {
fn: function() {
this.ownerCt.doLayout();
},
buffer: 250
}
},
/**
* Initializes the application
*
* Set's the necessary language labels, configuration options and sprite icons by an
......
if (TYPO3.Components.PageTree.Configuration.indicator !== '') {
this.addIndicatorItems();
}
this.doLayout();
this.ownerCt.on('resize', function() {
this.doLayout();
});
}, this);
TYPO3.Components.PageTree.App.superclass.initComponent.apply(this, arguments);
......
}
component.listeners.afterrender = {
scope: this,
fn: this.afterTopPanelItemAdded
}
}
return Ext.getCmp(this.id + '-indicatorBar').add(component);
var indicator = Ext.getCmp(this.id + '-indicatorBar').add(component);
this.doLayout();
return indicator;
},
/**
......
afterTopPanelItemAdded: function(component) {
var topPanelItems = Ext.getCmp(this.id + '-topPanelItems');
topPanelItems.setHeight(topPanelItems.getHeight() + component.getHeight() + 3);
this.doLayout();
},
/**
......
var topPanelItems = Ext.getCmp(this.id + '-topPanelItems');
topPanelItems.setHeight(topPanelItems.getHeight() - component.getHeight() - 3);
Ext.getCmp(this.id + '-indicatorBar').remove(component);
this.doLayout();
},
/**
(4-4/4)