Browse Source

UI-925: Always convert phone numbers into strings

4.3
Joris Tirado 11 years ago
parent
commit
66e41edbae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      submodules/strategy/strategy.js

+ 1
- 1
submodules/strategy/strategy.js View File

@ -483,7 +483,7 @@ define(function(require){
var $this = $(this),
numberToRemove = $this.data('number'),
e911Feature = $this.data('e911'),
indexToRemove = strategyData.callflows["MainCallflow"].numbers.indexOf(numberToRemove);
indexToRemove = strategyData.callflows["MainCallflow"].numbers.indexOf(numberToRemove.toString());
if(e911Feature === 'active' && container.find('.number-element .remove-number[data-e911="active"]').length === 1) {
monster.ui.alert('error', self.i18n.active().strategy.alertMessages.lastE911Error);


Loading…
Cancel
Save