Skip to content

Commit ce9f1e5

Browse files
committed
use lua scripts in a sub dir
1 parent 69a65aa commit ce9f1e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htdocs/portal/assets/js/fsportal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ App.UsersController = Ember.ObjectController.extend({
763763
actions: {
764764
//Submit the modal
765765
submit: function() {
766-
$.post("/txtapi/lua?create_user.lua%20" + $("#user_id").val(), {
766+
$.post("/txtapi/lua?portal/create_user.lua%20" + $("#user_id").val(), {
767767
data: "user_id=xxxx",
768768
success: function() { },
769769
error: function(e) { }
@@ -853,7 +853,7 @@ App.SofiaStatusController = Ember.ObjectController.extend({
853853
submit: function() {
854854
// alert("Not implemented");
855855
// return false;
856-
url = "/txtapi/lua?create_gateway.lua%20" +
856+
url = "/txtapi/lua?portal/create_gateway.lua%20" +
857857
$("#gateway_name").val() + "%20" +
858858
$("#gateway_realm").val() + "%20" +
859859
$("#gateway_username").val() + "%20" +

0 commit comments

Comments
 (0)