Commit 823bd5793e4d6999dd92255b6587a4674a9b862d
1 parent
7bed244e75
Exists in
master
and in
2 other branches
pre commit
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -8,9 +8,9 @@ angular.module('focaBotoneraFacturador') |
| 8 | 8 | ordenarBotones(); |
| 9 | 9 | }; |
| 10 | 10 | |
| 11 | - this.$onChanges = function(p) { | |
| 11 | + this.$onChanges = function() { | |
| 12 | 12 | ordenarBotones(); |
| 13 | - } | |
| 13 | + }; | |
| 14 | 14 | |
| 15 | 15 | function nombreFuncion(string) { |
| 16 | 16 | var texto = 'seleccionar'; |
| ... | ... | @@ -33,7 +33,7 @@ angular.module('focaBotoneraFacturador') |
| 33 | 33 | $scope.existeFuncionDelete = function(variable) { |
| 34 | 34 | if ($scope.$parent['clean' + variable]) return true; |
| 35 | 35 | return false; |
| 36 | - } | |
| 36 | + }; | |
| 37 | 37 | |
| 38 | 38 | function ordenarBotones() { |
| 39 | 39 | $scope.botones = $scope.$ctrl.botones; |