Author: david
Date: 2008-12-01 17:16:49 -0800 (Mon, 01 Dec 2008)
New Revision: 1652

Modified:
   trunk/qubit/apps/qubit/modules/physicalobject/templates/_edit.php
Log:
Fix delete animation for physical objects - was passing physical object id 
mistakenly, instead of relation id.

Modified: trunk/qubit/apps/qubit/modules/physicalobject/templates/_edit.php
===================================================================
--- trunk/qubit/apps/qubit/modules/physicalobject/templates/_edit.php   
2008-12-02 01:09:16 UTC (rev 1651)
+++ trunk/qubit/apps/qubit/modules/physicalobject/templates/_edit.php   
2008-12-02 01:16:49 UTC (rev 1652)
@@ -8,7 +8,7 @@
   </tr>
 <?php foreach($relations as $relation): ?>
   <?php $physicalObject = 
QubitPhysicalObject::getById($relation->getSubjectId()); ?>
-  <tr class="<?php echo 'related_obj_'.$physicalObject->getId() ?>">
+  <tr class="<?php echo 'related_obj_'.$relation->getId() ?>">
     <td style="width: 90%"><div class="animateNicely">
       <?php if (strlen($type = $physicalObject->getType())) echo $type.': '; ?>
       <b><?php echo $physicalObject->getName(array('cultureFallback' => 
'true')); ?></b>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to