remove add btn js and let it be a normal hyperlink

This commit is contained in:
Sanj 2012-07-31 18:39:31 +05:30
parent 2d650f1d23
commit 5c4285a43e
2 changed files with 4 additions and 4 deletions

View File

@ -209,13 +209,13 @@ $(function() {
var $content = $('<div />').addClass("aboutLightbox").html(about);
showLightbox($content);
});
/*
$('#addBtn').click(function() {
var add = $('#moduleAdd').html();
var $content = $('<div />').addClass("addLightbox").html(add);
showLightbox($content);
});
*/
// $('#listLeft ul li a').eq(0).click();
// alert("hi");

View File

@ -95,14 +95,14 @@
<div id="searchInnerDiv">
<!--<img src="/static/images/noel/search-inner.png" width="22" height="18" alt="search" class="searchInner">-->
<img src="/static/images/noel/about.png" width="22" height="22" id="aboutBtn" alt="About" title="About">
{% comment %}
{% if item.get_add_url %}
<a href="{{ item.get_add_url }}">
<img src="/static/images/noel/add.png" width="28" height="20" id="addBtn" alt="About" title="Add">
</a>
{% endif %}
{% endcomment %}
{% ifequal title "Best Practices" %} <!-- FIXME!!! -->
<a target="_blank" href="/static/upload/bestpractices_downloads/INDIA_THEATRE_FORUM_BOOK-rev-4-4-11.pdf">
<img src="/static/images/noel/Download-Icon.gif" width="29" height="20" id="downloadBtn" alt="Download" title="Download">