summaryrefslogtreecommitdiffstats
path: root/askbot/templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-25 06:38:32 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-25 06:38:32 -0400
commit88c817318430e8ab6557c78215d4f3917f7d1521 (patch)
treedac35d935a47757531566205ed88693b9466bb38 /askbot/templates
parent2bd878338f92e28a0b474feac0797af3d8e17fca (diff)
downloadaskbot-88c817318430e8ab6557c78215d4f3917f7d1521.tar.gz
askbot-88c817318430e8ab6557c78215d4f3917f7d1521.tar.bz2
askbot-88c817318430e8ab6557c78215d4f3917f7d1521.zip
fixed some general js coding issues in the Groups dropdown code
Diffstat (limited to 'askbot/templates')
-rw-r--r--askbot/templates/meta/bottom_scripts.html3
1 files changed, 0 insertions, 3 deletions
diff --git a/askbot/templates/meta/bottom_scripts.html b/askbot/templates/meta/bottom_scripts.html
index eec4256d..e707b29f 100644
--- a/askbot/templates/meta/bottom_scripts.html
+++ b/askbot/templates/meta/bottom_scripts.html
@@ -97,9 +97,6 @@
askbot['urls']['add_group'] = "{% url add_group %}";
var group_dropdown = new GroupDropdown({{ group_list }});
$('.dropdown').append(group_dropdown.getElement());
- if (askbot['data']['userIsAdmin']) {
- group_dropdown.enableAddGroups();
- }
}
});
if (askbot['data']['haveFlashNotifications']) {