use lua scripts in a sub dir
This commit is contained in:
parent
69a65aa413
commit
ce9f1e5f98
|
@ -763,7 +763,7 @@ App.UsersController = Ember.ObjectController.extend({
|
||||||
actions: {
|
actions: {
|
||||||
//Submit the modal
|
//Submit the modal
|
||||||
submit: function() {
|
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",
|
data: "user_id=xxxx",
|
||||||
success: function() { },
|
success: function() { },
|
||||||
error: function(e) { }
|
error: function(e) { }
|
||||||
|
@ -853,7 +853,7 @@ App.SofiaStatusController = Ember.ObjectController.extend({
|
||||||
submit: function() {
|
submit: function() {
|
||||||
// alert("Not implemented");
|
// alert("Not implemented");
|
||||||
// return false;
|
// return false;
|
||||||
url = "/txtapi/lua?create_gateway.lua%20" +
|
url = "/txtapi/lua?portal/create_gateway.lua%20" +
|
||||||
$("#gateway_name").val() + "%20" +
|
$("#gateway_name").val() + "%20" +
|
||||||
$("#gateway_realm").val() + "%20" +
|
$("#gateway_realm").val() + "%20" +
|
||||||
$("#gateway_username").val() + "%20" +
|
$("#gateway_username").val() + "%20" +
|
||||||
|
|
Loading…
Reference in New Issue