From ce9f1e5f98f825f163a9bc5fbe70312982916adf Mon Sep 17 00:00:00 2001 From: Seven Du Date: Sat, 15 Mar 2014 00:14:09 +0800 Subject: [PATCH] use lua scripts in a sub dir --- htdocs/portal/assets/js/fsportal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/portal/assets/js/fsportal.js b/htdocs/portal/assets/js/fsportal.js index 0a84184da1..0ac0d4ec8f 100644 --- a/htdocs/portal/assets/js/fsportal.js +++ b/htdocs/portal/assets/js/fsportal.js @@ -763,7 +763,7 @@ App.UsersController = Ember.ObjectController.extend({ actions: { //Submit the modal submit: function() { - $.post("/txtapi/lua?create_user.lua%20" + $("#user_id").val(), { + $.post("/txtapi/lua?portal/create_user.lua%20" + $("#user_id").val(), { data: "user_id=xxxx", success: function() { }, error: function(e) { } @@ -853,7 +853,7 @@ App.SofiaStatusController = Ember.ObjectController.extend({ submit: function() { // alert("Not implemented"); // return false; - url = "/txtapi/lua?create_gateway.lua%20" + + url = "/txtapi/lua?portal/create_gateway.lua%20" + $("#gateway_name").val() + "%20" + $("#gateway_realm").val() + "%20" + $("#gateway_username").val() + "%20" +