Project

General

Profile

Bug #31122 » 31122_ws_no_mass_publish.diff

v2 - Robert Heel, 2011-10-20 10:51

View differences:

typo3_src-4.5.6/typo3/sysext/workspaces/Resources/Public/JavaScript/component.js 2011-10-19 21:08:49.000000000 +0000
hideable: false,
getRowClass : function(record, rowIndex, p, ds) {
cssClass = '';
if (!record.json.allowedAction_nextStage && !record.json.allowedAction_prevStage) {
if (!record.json.allowedAction_nextStage && !record.json.allowedAction_prevStage && !record.json.allowedAction_swap) {
cssClass = 'typo3-workspaces-row-disabled ';
}
if(this.state[record.id]) {
typo3_src-4.5.6/typo3/sysext/workspaces/Resources/Public/JavaScript/grid.js 2011-10-20 08:45:15.000000000 +0000
hidden: true,
listeners: {
beforerowselect : function (selection, rowIndex, keep, rec) {
if (rec.json.allowedAction_nextStage || rec.json.allowedAction_prevStage) {
if (rec.json.allowedAction_nextStage || rec.json.allowedAction_prevStage || rec.json.allowedAction_swap) {
return true;
} else {
return false;
(2-2/2)