From: Guillaume Pellerin Date: Tue, 7 Jan 2014 22:55:20 +0000 (+0100) Subject: fix seminar pub obj X-Git-Tag: 2.8.1-pro~320 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a47b0b4d2eee4542bf62467d7bcbcc0034d582db;p=teleforma.git fix seminar pub obj --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 80ee108a..a144216b 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -59,11 +59,11 @@ $(window).ready(function(){ var f = seminarUtils; p.unbind('click').click(function() { if (p.hasClass('icon_ok')){ - f.unpublish('{{media.id}}'); + f.unpublish('{{seminar.id}}'); return false; } if (p.hasClass('icon_delete')) { - f.publish('{{media.id}}'); + f.publish('{{seminar.id}}'); return false; } }