From 3c4c71fc19865bfb75231c425fae31c6b2c211de Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 9 Feb 2010 16:48:38 -0500 Subject: started working towards skinning forum app - first step - move templates to app --- templates/content/js/com.cnprog.admin.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 templates/content/js/com.cnprog.admin.js (limited to 'templates/content/js/com.cnprog.admin.js') diff --git a/templates/content/js/com.cnprog.admin.js b/templates/content/js/com.cnprog.admin.js deleted file mode 100644 index 39dff48c..00000000 --- a/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); - }); -}); -- cgit v1.2.3-1-g7c22