"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "openmeetings-web/src/main/front/chat/src/chat.js" between
apache-openmeetings-6.1.0-src.tar.gz and apache-openmeetings-6.2.0-src.tar.gz

About: OpenMeetings is a browser-based software that allows you to set up instantly a conference in the Web. You can use your microphone or webcam, share documents on a white board, share your screen or record meetings. Source code.

chat.js  (apache-openmeetings-6.1.0-src):chat.js  (apache-openmeetings-6.2.0-src)
skipping to change at line 217 skipping to change at line 217
function _addTab(id, label) { function _addTab(id, label) {
if (!inited) { if (!inited) {
_reinit({}); _reinit({});
} }
if ($('#chat').length < 1 || $('#' + id).length) { if ($('#chat').length < 1 || $('#' + id).length) {
return; return;
} }
if (!label) { if (!label) {
label = id === "chatTab-all" ? allPrefix : roomPrefix + id.substr (9); label = id === "chatTab-all" ? allPrefix : roomPrefix + id.substr (9);
} }
const link = $('<a class="nav-link" data-toggle="tab" role="tab">') const link = $('<a class="nav-link" data-bs-toggle="tab" role="tab">')
.attr('aria-controls', id) .attr('aria-controls', id)
.attr('href', '#' + id).text(label) .attr('href', '#' + id).text(label)
, li = $('<li class="nav-item">').append(link); , li = $('<li class="nav-item">').append(link);
if (id.indexOf("chatTab-u") === 0) { if (id.indexOf("chatTab-u") === 0) {
link.append(OmUtil.tmpl('#chat-close-block')); link.append(OmUtil.tmpl('#chat-close-block'));
} }
tabs.find('.nav.nav-tabs').append(li); tabs.find('.nav.nav-tabs').append(li);
const msgArea = OmUtil.tmpl('#chat-msg-area-template', id); const msgArea = OmUtil.tmpl('#chat-msg-area-template', id);
tabs.find('.tab-content').append(msgArea); tabs.find('.tab-content').append(msgArea);
msgArea.append($('<div class="clear icons actions align-left">').addClass ('short') msgArea.append($('<div class="clear icons actions align-left">').addClass ('short')
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)