Author: jablko
Date: Wed Sep 23 12:11:03 2009
New Revision: 3474
Log:
Use $sf_request->getUri() for 'next' parameter, fixes issue 991
Modified:
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
==============================================================================
---
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
Wed Sep 23 12:04:04 2009 (r3473)
+++
trunk/apps/qubit/modules/informationobject/templates/editPhysicalObjectsSuccess.php
Wed Sep 23 12:11:03 2009 (r3474)
@@ -20,7 +20,7 @@
<?php if ($location =
$physicalObject->getLocation(array('cultureFallback' => 'true'))) echo ' -
'.$location ?>
</div></td>
<td style="width: 20px;"><div class="animateNicely">
- <?php echo link_to(image_tag('pencil', array('align' => 'top')),
array('module' => 'physicalobject', 'action' => 'edit', 'id' =>
$physicalObject->id, 'next' => url_for(array('module' => 'informationobject',
'action' => 'edit', 'id' => $informationObject->id)))) ?>
+ <?php echo link_to(image_tag('pencil', array('align' => 'top')),
array('module' => 'physicalobject', 'action' => 'edit', 'id' =>
$physicalObject->id, 'next' => $sf_request->getUri())) ?>
</div></td>
<td style="width: 20px;"><div class="animateNicely">
<input type="checkbox" name="delete_relations[<?php echo
$relation->getId() ?>]" value="delete" class="multiDelete" />
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---