change good content id for category associated content

This commit is contained in:
Manuel Raynaud
2014-01-20 17:04:16 +01:00
parent 8bc1f67a51
commit 502b149d32
2 changed files with 2 additions and 1 deletions

View File

@@ -166,6 +166,7 @@ class AssociatedContent extends Content
->set("ID" , $this->contentId[$relatedContentId]) ->set("ID" , $this->contentId[$relatedContentId])
->set("CONTENT_ID", $relatedContentId) ->set("CONTENT_ID", $relatedContentId)
->set("POSITION" , $this->contentPosition[$relatedContentId]) ->set("POSITION" , $this->contentPosition[$relatedContentId])
; ;
} }

View File

@@ -228,7 +228,7 @@
<td class="actions"> <td class="actions">
<div class="btn-group"> <div class="btn-group">
{loop type="auth" name="can_create" role="ADMIN" resource="admin.configuration.category" access="UPDATE"} {loop type="auth" name="can_create" role="ADMIN" resource="admin.configuration.category" access="UPDATE"}
<a class="btn btn-default btn-xs delete-content" title="{intl l='Delete this content'}" href="#delete_content_dialog" data-id="{$ID}" data-toggle="modal"> <a class="btn btn-default btn-xs delete-content" title="{intl l='Delete this content'}" href="#delete_content_dialog" data-id="{$CONTENT_ID}" data-toggle="modal">
<span class="glyphicon glyphicon-trash"></span> <span class="glyphicon glyphicon-trash"></span>
</a> </a>
{/loop} {/loop}