Project

General

Profile

Bug #11587 ยป 11587.patch

Tolleiv Nietsch, 2011-01-17 08:47

View differences:

Resources/Private/Language/locallang.xml (working copy)
<label index="tooltip.openPage">Open version of page</label>
<label index="tooltip.sendToPrevStage">Send record to previous Stage</label>
<label index="tooltip.sendToNextStage">Send record to next Stage</label>
<label index="tooltip.removeVersion">Remove version document</label>
<label index="tooltip.discardVersion">Discard workspace version of record.</label>
<label index="tooltip.swap">Swap live and workspace versions of record</label>
<label index="window.remove.title">Remove version from workspace</label>
<label index="window.remove.message">Do you really want to remove this version from workspace?</label>
<label index="window.discard.title">Discard workspace version of record.</label>
<label index="window.discard.message">Do you really want to discard this version from workspace?</label>
<label index="window.swap.title">Swap version</label>
<label index="window.swap.message">Do you really want to swap this version?</label>
<label index="window.massAction.title">Prepare to start mass action</label>
Resources/Public/JavaScript/configuration.js (working copy)
},
{
iconCls:'t3-icon t3-icon-actions t3-icon-actions-version t3-icon-version-document-remove',
tooltip: TYPO3.lang["tooltip.removeVersion"],
tooltip: TYPO3.lang["tooltip.discardVersion"],
handler: function(grid, rowIndex, colIndex) {
var record = TYPO3.Workspaces.MainStore.getAt(rowIndex);
var configuration = {
title: TYPO3.lang["window.remove.title"],
msg: TYPO3.lang["window.remove.message"],
title: TYPO3.lang["window.discard.title"],
msg: TYPO3.lang["window.discard.message"],
fn: function(result) {
if (result == 'yes') {
TYPO3.Workspaces.Actions.deleteSingleRecord(record.json.table, record.json.uid);
    (1-1/1)