Commit 10f926e48fb4e459a98f5ce3c471be1bbd365ecf
1 parent
833b6ee101
Exists in
master
and in
1 other branch
fix foca modal
Showing
2 changed files
with
8 additions
and
8 deletions
Show diff stats
package.json
... | ... | @@ -8,33 +8,33 @@ |
8 | 8 | "gulp-pre-commit": "gulp pre-commit", |
9 | 9 | "compile": "gulp uglify", |
10 | 10 | "postinstall": "npm run compile && gulp clean-post-install", |
11 | - "install-dev": "npm install -D angular gulp gulp-angular-templatecache gulp-clean gulp-connect gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-uglify jshint pump git+https://debo.suite.repo/modulos-npm/foca-directivas.git" | |
11 | + "install-dev": "npm install -D angular gulp gulp-angular-templatecache gulp-clean gulp-connect gulp-htmlmin gulp-jshint gulp-rename gulp-replace gulp-uglify jshint pump git+http://git.focasoftware.com/npm/foca-directivas.git" | |
12 | 12 | }, |
13 | 13 | "pre-commit": [ |
14 | 14 | "gulp-pre-commit" |
15 | 15 | ], |
16 | 16 | "repository": { |
17 | 17 | "type": "git", |
18 | - "url": "https://debo.suite.repo/modulos-npm/foca-modal.git" | |
18 | + "url": "http://git.focasoftware.com/npm/foca-modal.git" | |
19 | 19 | }, |
20 | 20 | "author": "Foca Software", |
21 | 21 | "license": "ISC", |
22 | 22 | "peerDependencies": { |
23 | - "foca-directivas": "git+https://debo.suite.repo/modulos-npm/foca-directivas.git" | |
23 | + "foca-directivas": "git+http://git.focasoftware.com/npm/foca-directivas.git" | |
24 | 24 | }, |
25 | 25 | "devDependencies": { |
26 | 26 | "angular": "^1.7.5", |
27 | - "foca-directivas": "git+https://debo.suite.repo/modulos-npm/foca-directivas.git", | |
27 | + "foca-directivas": "git+http://git.focasoftware.com/npm/foca-directivas.git", | |
28 | 28 | "gulp": "^3.9.1", |
29 | - "gulp-angular-templatecache": "^2.2.3", | |
29 | + "gulp-angular-templatecache": "^2.2.5", | |
30 | 30 | "gulp-clean": "^0.4.0", |
31 | - "gulp-connect": "^5.6.1", | |
31 | + "gulp-connect": "^5.7.0", | |
32 | 32 | "gulp-htmlmin": "^5.0.1", |
33 | 33 | "gulp-jshint": "^2.1.0", |
34 | 34 | "gulp-rename": "^1.4.0", |
35 | 35 | "gulp-replace": "^1.0.0", |
36 | 36 | "gulp-uglify": "^3.0.1", |
37 | - "jshint": "^2.9.6", | |
37 | + "jshint": "^2.9.7", | |
38 | 38 | "pump": "^3.0.0" |
39 | 39 | } |
40 | 40 | } |
src/js/controller.js
... | ... | @@ -4,7 +4,7 @@ angular.module('focaModal') |
4 | 4 | function($uibModalInstance, $scope, textoModal) { |
5 | 5 | $scope.textoModal = textoModal; |
6 | 6 | $scope.cancelar = function() { |
7 | - $uibModalInstance.close(false); | |
7 | + $uibModalInstance.dismiss(false); | |
8 | 8 | }; |
9 | 9 | $scope.aceptar = function() { |
10 | 10 | $uibModalInstance.close(true); |