Skip to content

Commit

Permalink
Isssue-629 Recent Scribe Icon fix causes uncaught TypeError : transcr…
Browse files Browse the repository at this point in the history
…iptionURL
  • Loading branch information
Rverma032 authored and kguptasangoma committed Jan 21, 2025
1 parent 7a454f1 commit c125db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ucp/assets/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ var VoicemailC = UCPMC.extend({

html += '<a class="delete" alt="'+_('Delete')+'" data-id="'+row.msg_id+'"><i class="fa fa-trash-o"></i></a>';

if(row.converttotext.transcriptionURL !== undefined && row.converttotext.transcriptionURL !== null && row.converttotext.transcriptionURL != '' && settings.isScribeEnabled) {
if((row.converttotext !== undefined) && row.converttotext.transcriptionURL !== undefined && row.converttotext.transcriptionURL !== null && row.converttotext.transcriptionURL != '' && settings.isScribeEnabled) {
html += '<a href="#" data-toggle="tooltip" class="transcript tool-tip" title="Read the voice transcription" title="Read the voice transcription" onclick="openmodal(\'' + UCP.ajaxUrl +row.converttotext.transcriptionURL + '\')"> <img src="'+row.converttotext.scribeIconURL+'" width="15px" height="15px" alt="PBX Scribe" /></a>';
}

Expand Down

0 comments on commit c125db3

Please sign in to comment.