From: Thierry Parmentelat Date: Fri, 21 Dec 2012 14:42:23 +0000 (+0100) Subject: remove debug X-Git-Tag: myslice-django-0.1-1~99 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9b06313f8abbe19df1a706f328c66c07331c56ff;p=myslice.git remove debug --- diff --git a/engine/static/js/plugin.js b/engine/static/js/plugin.js index 7c22af6b..c5a9de80 100644 --- a/engine/static/js/plugin.js +++ b/engine/static/js/plugin.js @@ -2,19 +2,14 @@ * and configure their behaviour */ $(document).ready(function() { - window.console.log("Setting plugin toggle behaviour"); $('.plugin-hide').each(function() { - window.console.log("Setting plugin toggle behaviour on hide "+$(this).attr('id')); $(this).click(function () { - window.console.log("click on a HIDE button"); var plugin='#'+$(this).attr('id').replace('hide-',''); var show='#'+$(this).attr('id').replace('hide-','show-'); jQuery(plugin).hide(); jQuery(show).show(); $(this).hide();}); }) $('.plugin-show').each(function() { - window.console.log("Setting plugin toggle behaviour on show "+$(this).attr('id')); $(this).click(function () { - window.console.log("click on a SHOW button"); var plugin='#'+$(this).attr('id').replace('show-',''); var hide='#'+$(this).attr('id').replace('show-','hide-'); jQuery(plugin).show(); jQuery(hide).show(); $(this).hide();});