Fix delete professor not reloading issue, total lecture day issue

This commit is contained in:
Rey Reyes
2016-04-26 10:49:49 -04:30
parent ebbb0577c8
commit 0aa7179ae7
4 changed files with 7 additions and 4 deletions

View File

@@ -68,8 +68,8 @@
<label for="telefono">Número de Teléfono</label>
<input type="telefono" class="form-control"
name="telefono" ng-model="vm.profesor.Telefono"
ng-pattern="/\d{4}-\d{3}-\d{4}/" maxlength="13"
placeholder="0424-123-9876"/>
ng-pattern="/\d{4}-\d{7}/" maxlength="13"
placeholder="0424-1239876"/>
<small class="error"
ng-show="vm.data_input_form.telefono.$error.pattern">
El Formato del Número de Teléfono es incorrecto.

View File

@@ -102,7 +102,7 @@
};
$scope.ok = function (urlLo) {
$state.go('ProfessorList');
$state.reload();
$scope.modalInstance.dismiss('cancel');
};