update for close button of adding item tabs.

This commit is contained in:
kunw 2016-06-28 08:10:58 +08:00
parent d57e234f19
commit 5422988e11
6 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<div class="well panel-group well-custom" style="margin-left: 0;">
<div class="row">
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
<div class="col-xs-10 col-md-10">
<form class="form">
<div class="form-group">

View File

@ -12,6 +12,7 @@
var vm = this;
vm.checkOperation = checkOperation;
vm.close = close;
vm.opAll = true;
vm.opCreate = true;
@ -67,6 +68,9 @@
$scope.$apply();
}
function close() {
vm.isOpen = false;
}
}
function advancedSearch() {

View File

@ -1,5 +1,6 @@
<div class="well panel-group well-custom" style="margin: 0;">
<div class="row">
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
<form name="form" class="css-form" novalidate>
<div class="col-xs-10 col-md-10">
<div class="form-group col-md-6">

View File

@ -20,7 +20,7 @@
vm.save = save;
vm.cancel = cancel;
vm.close = close;
vm.reset = reset;
vm.hasError = false;
@ -47,6 +47,10 @@
vm.errorMessage = '';
}
function close() {
vm.isOpen = false;
}
function addProjectMemberComplete(data, status, header) {
console.log('addProjectMemberComplete: status:' + status + ', data:' + data);
vm.reload();

View File

@ -1,4 +1,5 @@
<div class="well well-custom">
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
<form name="form" class="css-form form-custom" novalidate>
<div class="row">
<div class="col-xs-10 col-md-10">

View File

@ -18,6 +18,7 @@
vm.addProject = addProject;
vm.cancel = cancel;
vm.close = close;
vm.reset = reset;
@ -65,6 +66,10 @@
vm.errorMessage = '';
}
function close() {
vm.isOpen = false;
}
function reset() {
vm.hasError = false;
vm.errorMessage = '';