Bug #22008 ยป 13327_corepart_only.diff
t3lib/class.t3lib_pagerenderer.php (working copy) | ||
---|---|---|
$extJsLang = isset($localeMap[$this->lang]) ? $localeMap[$this->lang] : $this->lang;
|
||
// TODO autoconvert file from UTF8 to current BE charset if necessary!!!!
|
||
$extJsLocaleFile = 'contrib/extjs/locale/ext-lang-' . $extJsLang . '-min.js';
|
||
$extJsLocaleFile = 'contrib/extjs/locale/ext-lang-' . $extJsLang . '.js';
|
||
if (file_exists(PATH_typo3 . $extJsLocaleFile)) {
|
||
$out .= '<script src="' . $this->backPath . $extJsLocaleFile . '" type="text/javascript" charset="utf-8"></script>' . chr(10);
|
||
}
|
typo3/sysext/recycler/res/js/t3_recycler.js (working copy) | ||
---|---|---|
collapsible: false,
|
||
animCollapse: false,
|
||
store: gridDs,
|
||
autoHeight: true,
|
||
cm: new Ext.grid.ColumnModel([
|
||
sm,
|
||
expander,
|
||
... | ... | |
mode: 'local',
|
||
emptyText: Recycler.lang.depth,
|
||
selectOnFocus: true,
|
||
readOnly: true,
|
||
triggerAction: 'all',
|
||
editable: false,
|
||
forceSelection: true,
|
||
... | ... | |
mode: 'local',
|
||
emptyText: Recycler.lang.tableMenu_emptyText,
|
||
selectOnFocus: true,
|
||
readOnly: true,
|
||
triggerAction: 'all',
|
||
editable: false,
|
||
forceSelection: true,
|
||
|
||
store: new Ext.data.Store({
|
||
autoLoad: true,
|
||
url: Recycler.statics.ajaxController + '&startUid=' + Recycler.statics.startUid + '&cmd=getTables' + '&depth=' + Recycler.statics.depthSelection,
|
||
... | ... | |
init : function(c) {
|
||
c.on('render', function(c) {
|
||
c.fitToElement = Ext.get(this.parent
|
||
|| c.getDomPositionEl().dom.parentNode);
|
||
|| c.getPositionEl().dom.parentNode);
|
||
if (!c.doLayout) {
|
||
this.fitSizeToParent();
|
||
Ext.EventManager.onWindowResize(this.fitSizeToParent, this);
|
||
... | ... | |
fitSizeToParent : function() {
|
||
// Uses the dimension of the current viewport, but removes the document header
|
||
// and an addtional margin of 40 pixels (e.g. Safari needs this addition)
|
||
|
||
this.fitToElement.setHeight(document.viewport.getHeight() - this.fitToElement.getTop() - 40);
|
||
var pos = this.getPosition(true), size = this.fitToElement
|
||
.getViewSize();
|
||
var pos = this.getPosition(true), size = this.fitToElement.getViewSize();
|
||
//why doesn't it resize anymore in 3.1?
|
||
this.setSize(size.width - pos[0], size.height - pos[1]);
|
||
|
||
}
|
||
});
|
||
});
|