From a47b0b4d2eee4542bf62467d7bcbcc0034d582db Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 7 Jan 2014 23:55:20 +0100 Subject: [PATCH] fix seminar pub obj --- teleforma/templates/teleforma/seminar_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.5