Project

General

Profile

Bug #18255 » bug7594.diff

Administrator Admin, 2008-04-08 14:54

View differences:

trunk.new/typo3/mod/user/ws/class.wslib_gui.php 2008-04-08 16:19:14.000000000 +0400
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand(
'&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'.
'&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]=-1'
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+escape(commentTxt);}'.
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+encodeURIComponent(commentTxt);}'.
' return false;';
// Reject:
$actionLinks.=
......
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand(
'&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'.
'&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]='.$sId
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+escape(commentTxt);}'.
).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+encodeURIComponent(commentTxt);}'.
' return false;';
if ($rec_off['t3ver_stage']!=10) {
$actionLinks.=
(2-2/2)