sum7/warehost-frontend
sum7
/
warehost-frontend
Archived
1
0
Fork 0

fix inventor

This commit is contained in:
Martin Geno 2016-08-27 02:13:16 +02:00
parent dc35ad5bf1
commit 10b6a7d47b
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ angular.module('warehost')
alert.set({});
$scope.list = {};
$scope.obj = {};
$scope.invitor = {}
$scope.invitor = {};
function resetObj(){
$scope.obj = {};
@ -51,7 +51,7 @@ angular.module('warehost')
$scope.add = function(){
$http.post(config.api+'/invite',$scope.obj).then(submitresult);
};
$scope.toggleAdmin = function(a){
$scope.toggleAdmin = function(){
$http.put(config.api+'/invitor').then(submitresult);
};
});

View File

@ -19,8 +19,8 @@
<!-- endbower -->
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="bower_components/bootswatch/lumen/bootstrap.min.css" />
<script src="bower_components/ng-table/dist/ng-table.min.css"></script>
<!-- endbuild -->
<script src="bower_components/ng-table/dist/ng-table.min.css"></script>
<!-- build:css({.tmp,public}) app/app.css -->
<link rel="stylesheet" href="app/app.css">
<!-- injector:css -->