Skip to content

Commit

Permalink
SAK-46110 Chat : avoid errors on Options screen
Browse files Browse the repository at this point in the history
Removing a couple unused variables I found too
  • Loading branch information
bgarciaentornos authored and Miguel Pellicer committed Aug 26, 2021
1 parent 438f636 commit 05ad7c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chat/chat-tool/tool/src/webapp/js/chatscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ var chatscript = {
sendMessage : function(params, textarea, submitButton) {
var me = this;
var errorSubmit = $("#errorSubmit");
var missingChannel = $("#missingChannel");
$.ajax({
url: me.url_submit + 'new',
data: params,
Expand Down Expand Up @@ -182,8 +181,10 @@ var chatscript = {
},
doUpdateChatData : function() {
var me = this;
var missingChannel = $("#missingChannel");
var url = me.url_submit + portal.user.id + "/chatData.json";
if(!this.currentChatChannelId) {
return;
}
var params = {
"siteId": portal.siteId,
"channelId": this.currentChatChannelId
Expand Down

0 comments on commit 05ad7c5

Please sign in to comment.