Skip to content

Commit

Permalink
updated response url for transcript auto suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
sohailm100 authored Sep 16, 2024
1 parent df39e11 commit bdb4e26
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ define(["jquery", "backbone", "underscore"], function($, Backbone) {
scroll: true,
autoFocus: true,
select: function(event, ui) {
ui.item.value = "https://" + ui.item.domain + "/content/" + ui.item.value;
if(ui.item.domain == "cdn.exec.talentsprint.com" || ui.item.domain == "cdn.chn.talentsprint.com") {
ui.item.value = "https://" + ui.item.domain + "/content/" + ui.item.value;
}else {
ui.item.value = "https://" + ui.item.domain + "/content/" + Crypto.MD5(ui.item.value + "dingdong") + "/" + ui.item.value;
}
$(this).val(ui.item.value);
$(this).trigger("input");
event.preventDefault();
Expand Down

0 comments on commit bdb4e26

Please sign in to comment.