diff options
author | Paul Backhouse <paulb@aptivate.org> | 2012-05-05 23:36:06 +0100 |
---|---|---|
committer | Paul Backhouse <paulb@aptivate.org> | 2012-05-05 23:36:06 +0100 |
commit | a81481640d31610c343befedb789dae008b1440c (patch) | |
tree | 8d16a2688e5a245344236f58ae65c025649ca5bd | |
parent | eb0366a6f3ce5ef42e49b57661ac3dedd2ee0346 (diff) | |
download | askbot-a81481640d31610c343befedb789dae008b1440c.tar.gz askbot-a81481640d31610c343befedb789dae008b1440c.tar.bz2 askbot-a81481640d31610c343befedb789dae008b1440c.zip |
Fixed bug where clicking on a wildcard matched tag did not put the tag in the url.
-rw-r--r-- | askbot/skins/common/media/js/tag_selector.js | 1 | ||||
-rw-r--r-- | askbot/skins/default/templates/user_profile/user_stats.html | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/askbot/skins/common/media/js/tag_selector.js b/askbot/skins/common/media/js/tag_selector.js index 445a1e44..c5a4215b 100644 --- a/askbot/skins/common/media/js/tag_selector.js +++ b/askbot/skins/common/media/js/tag_selector.js @@ -73,6 +73,7 @@ TagDetailBox.prototype.renderFor = function(wildcard){ $.each(me._tag_names, function(idx, name){ var tag = new Tag(); tag.setName(name); + tag.setUrlParams(name) //tag.setLinkable(false); me._tags.push(tag); me._tag_list_element.append(tag.getElement()); diff --git a/askbot/skins/default/templates/user_profile/user_stats.html b/askbot/skins/default/templates/user_profile/user_stats.html index 8c25c975..a85ecbf9 100644 --- a/askbot/skins/default/templates/user_profile/user_stats.html +++ b/askbot/skins/default/templates/user_profile/user_stats.html @@ -105,7 +105,6 @@ macros.tag_list_widget( interesting_tag_names, deletable = False, - make_links = True, css_class = 'interesting marked-tags' ) }} @@ -123,7 +122,6 @@ <table class="tags"> <tr> <td valign="top"> - <ul id="ab-ignored-tags" class="tags"> {{ macros.tag_list_widget( ignored_tag_names, @@ -132,7 +130,6 @@ css_class = 'ignored marked-tags' ) }} - </ul> </td> </tr> </table> @@ -200,5 +197,8 @@ }); </script> <script type='text/javascript' src='{{"/js/tag_selector.js"|media}}'></script> + <script type="text/javascript"> + askbot['urls']['questions'] = '{% url "questions" %}'; + </script> {% endblock %} <!-- end user_stats.html --> |