summaryrefslogtreecommitdiffstats
path: root/forum/templates/content/js/com.cnprog.admin.js
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-09 19:33:36 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-09 19:33:36 -0500
commitee38739d3b681f7d9fb61b650368d08e290a46bb (patch)
tree65c88de11dd5c766e100fe3bcd4aad344e771186 /forum/templates/content/js/com.cnprog.admin.js
parent7575e18525c9eb0ac12e7a30b1c1a22de5a2efd5 (diff)
downloadaskbot-ee38739d3b681f7d9fb61b650368d08e290a46bb.tar.gz
askbot-ee38739d3b681f7d9fb61b650368d08e290a46bb.tar.bz2
askbot-ee38739d3b681f7d9fb61b650368d08e290a46bb.zip
moved templates/content --> forum/media, templates --> forum/templates, fixed up urls
Diffstat (limited to 'forum/templates/content/js/com.cnprog.admin.js')
-rw-r--r--forum/templates/content/js/com.cnprog.admin.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/forum/templates/content/js/com.cnprog.admin.js b/forum/templates/content/js/com.cnprog.admin.js
deleted file mode 100644
index 39dff48c..00000000
--- a/forum/templates/content/js/com.cnprog.admin.js
+++ /dev/null
@@ -1,13 +0,0 @@
-$(document).ready( function(){
- var options = {
- success: function(a,b){$('.admin #action_status').html($.i18n._('changes saved'));},
- dataType:'json',
- timeout:5000,
- url: scriptUrl + $.i18n._('moderate-user/') + viewUserID + '/'
- };
- var form = $('.admin #moderate_user_form').ajaxForm(options);
- var box = $('.admin input#id_is_approved').click(function(){
- $('.admin #action_status').html($.i18n._('sending data...'));
- form.ajaxSubmit(options);
- });
-});