Skip to content

Commit

Permalink
OOB: Set failover property to true for smarphones; Fix bug on device …
Browse files Browse the repository at this point in the history
…un-assingnment
  • Loading branch information
joristirado committed Feb 9, 2016
1 parent 82b8b50 commit 1a00cad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions submodules/devices/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,10 @@ define(function(require){
require_keypress: true,
keep_caller_id: true
}, formData.call_forward);

if (originalData.device_type === 'smartphone') {
formData.call_forward.failover = true;
}
}

if(hasCodecs) {
Expand Down
2 changes: 1 addition & 1 deletion submodules/users/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ define(function(require){
}
};

if (deviceData.type === 'mobile') {
if (deviceData && deviceData.type === 'mobile') {
monster.ui.confirm(
self.i18n.active().users.confirmMobileUnAssignment.replace(
'{{variable}}',
Expand Down

0 comments on commit 1a00cad

Please sign in to comment.