diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-25 06:38:32 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-25 06:38:32 -0400 |
commit | 88c817318430e8ab6557c78215d4f3917f7d1521 (patch) | |
tree | dac35d935a47757531566205ed88693b9466bb38 /askbot/templates | |
parent | 2bd878338f92e28a0b474feac0797af3d8e17fca (diff) | |
download | askbot-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.html | 3 |
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']) { |