Skip to content

Commit

Permalink
UI-2249: Fixed issue with media selection in SmartPBX
Browse files Browse the repository at this point in the history
  • Loading branch information
JRMaitre committed Jun 6, 2016
1 parent b357379 commit 53e711c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@
"advancedCallflows": "Advanced Callflows",
"__comment": "UI-1886: Can now select a media in virtual receptionist",
"__version": "3.23",
"media": "Media"
"play": "Media"
},
"confirmMessages": {
"deleteHoliday": "This holiday will be permanently deleted. Continue?",
Expand Down
8 changes: 4 additions & 4 deletions submodules/strategy/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ define(function(require){
case 'user':
case 'device':
case 'callflow':
case 'media':
case 'play':
flowElement.data.id = selectedEntity.val();
break;
case 'ring_group':
Expand Down Expand Up @@ -3199,7 +3199,7 @@ define(function(require){
var callEntities = {
device: results.devices,
user: $.extend(true, [], results.users),
media: results.media,
play: results.media,
userCallflows: [],
ring_group: [],
userGroups: $.map(results.userGroups, function(val) {
Expand All @@ -3211,8 +3211,8 @@ define(function(require){
advancedCallflows: results.advancedCallflows
};

_.each(callEntities.media, function(media) {
media.module = 'media';
_.each(callEntities.play, function(media) {
media.module = 'play';
});

_.each(callEntities.device, function(device) {
Expand Down

0 comments on commit 53e711c

Please sign in to comment.