Make js work agian
This commit is contained in:
parent
63a761bbc0
commit
3f929f9607
16 changed files with 4258 additions and 130 deletions
|
|
@ -19,13 +19,13 @@ crudRouteInit.push(function ($routeProvider, $locationProvider) {
|
|||
});
|
||||
|
||||
function XPageServerTechRoutes($scope, $http) {
|
||||
$http.get('<%= troot.tmeta.tserver.tslugs.tbase %>/<%= troot.tmeta.tserver.tslugs.tserver %>/<%= troot.tmeta.tplugin.serverConfigRoutes.tslug %>?groups=api/server,api/plugin,tentity/json,tentity/xml,tentity/rss,tentity/csv,tentity/angular,tentity/config').success(function(data, status, headers, config) {
|
||||
$scope.serverRoutes = data.data;
|
||||
$http.get('<%= troot.tmeta.tserver.tslugs.tbase %>/<%= troot.tmeta.tserver.tslugs.tserver %>/<%= troot.tmeta.tplugin.serverConfigRoutes.tslug %>?groups=api/server,api/plugin,tentity/json,tentity/xml,tentity/rss,tentity/csv,tentity/angular,tentity/config').then(function(response) {
|
||||
$scope.serverRoutes = response.data.data;
|
||||
});
|
||||
}
|
||||
|
||||
function XPageServerModelRoutes($scope, $http) {
|
||||
$http.get('<%= troot.tmeta.tserver.tslug %>/json/server/routes?groups=moviedb,pagila').success(function(data, status, headers, config) {
|
||||
$scope.serverRoutes = data.data;
|
||||
$http.get('<%= troot.tmeta.tserver.tslug %>/json/server/routes?groups=moviedb,pagila').then(function(response) {
|
||||
$scope.serverRoutes = response.data.data;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue