From 5c4285a43e1fdfcbc7282c420729a8dcd7f14832 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 31 Jul 2012 18:39:31 +0530 Subject: [PATCH] remove add btn js and let it be a normal hyperlink --- itf/static/js/render_object.js | 4 ++-- itf/templates/noel/render_object.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/itf/static/js/render_object.js b/itf/static/js/render_object.js index bc4279c..25bf374 100755 --- a/itf/static/js/render_object.js +++ b/itf/static/js/render_object.js @@ -209,13 +209,13 @@ $(function() { var $content = $('
').addClass("aboutLightbox").html(about); showLightbox($content); }); - +/* $('#addBtn').click(function() { var add = $('#moduleAdd').html(); var $content = $('
').addClass("addLightbox").html(add); showLightbox($content); }); - +*/ // $('#listLeft ul li a').eq(0).click(); // alert("hi"); diff --git a/itf/templates/noel/render_object.html b/itf/templates/noel/render_object.html index 2b251e7..9007c10 100755 --- a/itf/templates/noel/render_object.html +++ b/itf/templates/noel/render_object.html @@ -95,14 +95,14 @@
About - {% comment %} + {% if item.get_add_url %} About {% endif %} - {% endcomment %} + {% ifequal title "Best Practices" %} Download