Commit 37289f50ba95b00578bbafa73b7a5bf861361747

Authored by Jose Pinto
1 parent 573c92b5fc
Exists in master

ok modal-prompt

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -215,7 +215,10 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl',
215 215  
216 216 $scope.seleccionarTarifario = function() {
217 217 focaModalService
218   - .prompt('Tarifa flete', $scope.hojaRuta.tarifario.costo)
  218 + .prompt({
  219 + titulo: 'Tarifa flete',
  220 + value: $scope.hojaRuta.tarifario.costo
  221 + })
219 222 .then(function(costo) {
220 223 if (isNaN(costo)) {
221 224 focaModalService