Skip to content

Commit

Permalink
UI-2559: Remove manual MDN formatting (adding +1) and encode '+' char…
Browse files Browse the repository at this point in the history
…acter when using it as in URL parameter
  • Loading branch information
joristirado committed Feb 6, 2017
1 parent fe23864 commit ff1d37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submodules/users/users.js
Expand Up @@ -3070,7 +3070,7 @@ define(function(require){
accountId: self.accountId,
data: {
filters: {
'filter_mobile.mdn': mdn
'filter_mobile.mdn': encodeURIComponent(mdn)
}
}
},
Expand Down Expand Up @@ -3429,7 +3429,7 @@ define(function(require){
resource: 'callflow.searchByNumber',
data: {
accountId: self.accountId,
value: encodeURIComponent('+1' + phoneNumber),
value: encodeURIComponent(phoneNumber),
filter_owner_id: userId,
filter_type: 'mobile'
},
Expand Down

0 comments on commit ff1d37f

Please sign in to comment.