Project

General

Profile

Bug #24892 » 17407_v3.patch

Administrator Admin, 2011-02-03 13:17

View differences:

t3lib/js/extjs/components/pagetree/javascript/actions.js (revision )
TYPO3.Components.PageTree.Configuration.temporaryMountPoint = response;
TYPO3.Backend.NavigationContainer.PageTree.addTemporaryMountPointIndicator();
TYPO3.Backend.NavigationContainer.doLayout();
var selectedNode = TYPO3.Backend.NavigationContainer.PageTree.getSelected();
tree.stateId = 'Pagetree' + TYPO3.Components.PageTree.Configuration.temporaryMountPoint;
......
this
);
}
};
};
t3lib/js/extjs/components/pagetree/javascript/tree.js (revision )
/**
* Main applicaton
*
*
* @cfg {TYPO3.Components.PageTree.App}
*/
app: null,
......
stopDd: function() {
if (this.deletionDropZoneId) {
Ext.getCmp(this.deletionDropZoneId).hide();
TYPO3.Backend.NavigationContainer.PageTree.doLayout();
}
},
......
(nodeHasChildNodes && TYPO3.Components.PageTree.Configuration.canDeleteRecursivly)
)) {
Ext.getCmp(this.deletionDropZoneId).show();
TYPO3.Backend.NavigationContainer.PageTree.doLayout();
}
this.initDDProxyElement();
},
t3lib/js/extjs/components/pagetree/javascript/app.js (revision )
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);
TYPO3.Components.PageTree.App.superclass.initComponent.apply(this, arguments);
......
this.removeIndicator(this.temporaryMountPointInfoIndicator);
this.getTree().refreshTree();
this.getTree().stateId = 'Pagetree';
TYPO3.Backend.NavigationContainer.PageTree.doLayout();
},
this
);
......
TYPO3.Components.PageTree.Configuration.temporaryMountPoint +
'</p>'
});
TYPO3.Backend.NavigationContainer.PageTree.doLayout();
},
/**
(3-3/4)