summaryrefslogtreecommitdiffstats
path: root/templates/content/js/com.cnprog.admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'templates/content/js/com.cnprog.admin.js')
-rw-r--r--templates/content/js/com.cnprog.admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/content/js/com.cnprog.admin.js b/templates/content/js/com.cnprog.admin.js
index 73b5768f..cb1c1b15 100644
--- a/templates/content/js/com.cnprog.admin.js
+++ b/templates/content/js/com.cnprog.admin.js
@@ -3,7 +3,7 @@ $().ready( function(){
success: function(a,b){$('.admin #action_status').html($.i18n._('changes saved'));},
dataType:'json',
timeout:5000,
- url: $.i18n._('/') + $.i18n._('moderate-user/') + viewUserID + '/'
+ url: scriptUrl + $.i18n._('moderate-user/') + viewUserID + '/'
};
var form = $('.admin #moderate_user_form').ajaxForm(options);
var box = $('.admin input#id_is_approved').click(function(){