sum7/warehost-frontend
sum7
/
warehost-frontend
Archived
1
0
Fork 0
This commit is contained in:
Martin Geno 2016-10-11 20:50:30 +02:00
parent e7ac302cfe
commit ca4272c561
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ angular.module('warehost')
};
$scope.add = function(){
$scope.obj = {};
}
};
$scope.save = function(){
if($scope.obj.ID){
$http.put(config.api+'/web/website/'+$stateParams.websiteid+'/page/'+$scope.obj.ID,$scope.obj).then(submitresult);

View File

@ -15,7 +15,7 @@ angular.module('warehost')
$scope.obj = {};
}
function load(){
$http.get(config.api+'/user/').then(function(res){
$http.get(config.api+'/user').then(function(res){
$scope.loginlist = res.data.data;
$http.get(config.api+'/web/website/'+$stateParams.websiteid+'/permission').then(function(res){
session.set(res);