Commit 4a6c94f7b25d5b717f62af609be061c1ce677a5a

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master

See merge request !17
src/js/controller.js
... ... @@ -64,8 +64,12 @@ angular.module('focaModalPrecioCondicion')
64 64 }
65 65 ],
66 66 }).then(function (res) {
67   - $scope.associatedList = false;
68   - $scope.listaDePreciosAlternativa = res;
  67 + focaModalService.confirm('¿Desea cambiar la lista de precios?').then(function (data){
  68 + if (data) {
  69 + $scope.associatedList = false;
  70 + $scope.listaDePreciosAlternativa = res;
  71 + }
  72 + });
69 73 }).catch(function (e) {
70 74 console.error(e);
71 75 });