Skip to content

Commit

Permalink
#211 - fixed the Back to record button link on the edit record tags s…
Browse files Browse the repository at this point in the history
…creen
  • Loading branch information
alphadevx committed Sep 15, 2015
1 parent 2a1bf69 commit 06f69d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Alpha/Controller/TagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function doGET($request)
$temp = new Button('submit', 'Save', 'saveBut');
$body .= $temp->render();
$body .= '  ';
$temp = new Button("document.location = '".FrontController::generateSecureURL('act=Edit&bo='.$params['ActiveRecordType'].'&oid='.$params['ActiveRecordOID'])."'", 'Back to Object', 'cancelBut');
$temp = new Button("document.location = '".FrontController::generateSecureURL('act=Alpha\Controller\ActiveRecordController&ActiveRecordType='.$params['ActiveRecordType'].'&ActiveRecordOID='.$params['ActiveRecordOID'].'&view=edit')."'", 'Back to record', 'cancelBut');
$body .= $temp->render();

$body .= View::renderSecurityFields();
Expand Down

0 comments on commit 06f69d2

Please sign in to comment.