Bug #23953 ยป 16263_loadingmask.diff
typo3/sysext/t3skin/extjs/xtheme-t3skin.css (revision ) | ||
---|---|---|
/* the mask for dialogs */
|
||
.ext-el-mask {
|
||
background-color: #000000;
|
||
-moz-opacity: 0.9;
|
||
opacity: 0.9;
|
||
filter:alpha(opacity=90);
|
||
background-color: #EFEFF4;
|
||
}
|
||
/* mask while loading */
|
typo3/sysext/recycler/res/js/t3_recycler.js (revision ) | ||
---|---|---|
pagingSizeDefault: TYPO3.settings.Recycler.pagingSize,
|
||
table: TYPO3.settings.Recycler.tableSelection
|
||
}
|
||
|
||
});
|
||
/****************************************************
|
||
... | ... | |
* Confirmation Window
|
||
****************************************************/
|
||
Recycler.ConfirmWindow = Ext.extend(Ext.Window, {
|
||
|
||
width: 300,
|
||
height: 200,
|
||
|
||
height: 200,
|
||
title: '',
|
||
confirmText: '',
|
||
confirmQuestion: '',
|
||
... | ... | |
xtype: 'form',
|
||
bodyCssClass: 'recycler-messagebox',
|
||
modal: true,
|
||
|
||
items: [
|
||
{
|
||
xtype: 'label',
|
||
... | ... | |
scope: this,
|
||
handler: function(button, event) {
|
||
var tcemainData = [];
|
||
|
||
for (var i=0; i < this.records.length; i++) {
|
||
tcemainData[i] = [this.records[i].data.table, this.records[i].data.uid];
|
||
}
|
||
Ext.Ajax.request({
|
||
url: TYPO3.settings.Recycler.ajaxController + '&cmd=' + this.command,
|
||
params: {
|
||
'data': Ext.encode(tcemainData),
|
||
'data': Ext.encode(tcemainData),
|
||
'recursive': this.getComponent('recursiveCheck').getValue()
|
||
},
|
||
callback: function(options, success, response) {
|
||
... | ... | |
}
|
||
}
|
||
});
|
||
|
||
this.close();
|
||
}
|
||
},{
|
||
... | ... | |
top.content.nav_frame.Tree.refresh();
|
||
}
|
||
},
|
||
|
||
// not used?
|
||
filterGrid: function(grid, component) {
|
||
var filterText = component.getValue();
|
||
... | ... | |
}
|
||
});
|
||
},
|
||
|
||
/****************************************************
|
||
* permanent deleting function
|
||
****************************************************/
|
||
function_delete: function(button, event) {
|
||
Recycler.Utility.rowAction(
|
||
'doDelete',
|
||
TYPO3.lang.cmd_doDelete_confirmText,
|
||
TYPO3.lang.title_delete,
|
||
'doDelete',
|
||
TYPO3.lang.cmd_doDelete_confirmText,
|
||
TYPO3.lang.title_delete,
|
||
TYPO3.lang.text_delete
|
||
);
|
||
},
|
||
... | ... | |
function_undelete: function(button, event) {
|
||
Recycler.Utility.rowAction(
|
||
'doUndelete',
|
||
TYPO3.lang.sure,
|
||
TYPO3.lang.title_undelete,
|
||
TYPO3.lang.sure,
|
||
TYPO3.lang.title_undelete,
|
||
TYPO3.lang.text_undelete
|
||
);
|
||
},
|
||
... | ... | |
var arePagesAffected = false;
|
||
var tables = [];
|
||
var hideRecursive = ('doDelete' == command);
|
||
|
||
for (iterator=0; iterator < records.length; iterator++) {
|
||
if (tables.indexOf(records[iterator].data.table) < 0) {
|
||
tables.push(records[iterator].data.table);
|
||
... | ... | |
});
|
||
}
|
||
},
|
||
|
||
/****************************************************
|
||
* pluggable renderer
|
||
****************************************************/
|
||
... | ... | |
border: false,
|
||
defaults: {autoScroll: false},
|
||
plain: true,
|
||
|
||
initComponent : function() {
|
||
Ext.apply(this, {
|
||
id: 'delRecordId',
|
||
loadMask: true,
|
||
loadMask: {
|
||
msg: ' ',
|
||
msgCls: 'x-mask-loading-message t3-mask-loading'
|
||
},
|
||
stripeRows: true,
|
||
collapsible: false,
|
||
animCollapse: false,
|
||
... | ... | |
triggerAction: 'all',
|
||
editable: false,
|
||
forceSelection: true,
|
||
|
||
store: Recycler.TableStore,
|
||
valueNotFoundText: String.format(TYPO3.lang.noValueFound, TYPO3.settings.Recycler.tableSelection),
|
||
tpl: '<tpl for="."><tpl if="records > 0"><div ext:qtip="{table} ({records})" class="x-combo-list-item">{tableTitle} ({records}) </div></tpl><tpl if="records < 1"><div ext:qtip="{table} ({records})" class="x-combo-list-item x-item-disabled">{tableTitle} ({records}) </div></tpl></tpl>',
|