fix inventor
This commit is contained in:
parent
dc35ad5bf1
commit
10b6a7d47b
|
@ -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);
|
||||
};
|
||||
});
|
||||
|
|
|
@ -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" />
|
||||
<!-- endbuild -->
|
||||
<script src="bower_components/ng-table/dist/ng-table.min.css"></script>
|
||||
<!-- endbuild -->
|
||||
<!-- build:css({.tmp,public}) app/app.css -->
|
||||
<link rel="stylesheet" href="app/app.css">
|
||||
<!-- injector:css -->
|
||||
|
|
Reference in New Issue