YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.72k stars 742 forks source link

[bug] Widgets are folded when Summary tab opened when Comment widget active #12732

Closed vovpff closed 4 years ago

vovpff commented 4 years ago

🐞 bug report

⁉️ Describe the bug

Also I checked what part of modules has all widget folded at summary tab: image image But in quotes all widgets are open image

πŸ‘· Testing

πŸ“· Screenshot of configuration

πŸ“ PHP/Apache/Nginx/Browser/CRM Logs

🌍 Your Environment

Environment Version / Name
YetiForce 5.3.0 SP1
Web server (name and version)
PHP
Browser (name and version)
Operating System (name and version)
Database (name and version)
Service Pack version

ConfReport_200317_2

❓ Additional context

Add any other context about the problem here.

❗️ Inform the community if you solve the problem

vovpff commented 4 years ago

Comments widget crush autoopening

error from console

Uncaught ReferenceError: Tribute is not defined
    at Completions.register (Fields.js:850)
    at new Completions (Fields.js:751)
    at c.registerCommentEventsInDetail (Detail.js:2500)
    at Object.<anonymous> (Detail.js:296)
    at Object.dispatch (jquery.min.js?s=1584448268:2)
    at Object.v.handle (jquery.min.js?s=1584448268:2)
    at Object.trigger (jquery.min.js?s=1584448268:2)
    at Object.<anonymous> (jquery.min.js?s=1584448268:2)
    at Function.each (jquery.min.js?s=1584448268:2)
    at k.fn.init.each (jquery.min.js?s=1584448268:2)
vovpff commented 4 years ago

This buggy comments widgets blocks every popup. For example Knowledge base preview button not working on Summary tab if comments active

vovpff commented 4 years ago

I can confirm what this bug available on gitstable @mariuszkrzaczkowski Pls take a look

mariuszkrzaczkowski commented 4 years ago

This is some error in the tributejs min file the easiest way to fix this is to delete this file: public_html/libraries/tributejs/dist/tribute.min.js

zazy commented 4 years ago

I also struggled with this bug and found the problem in tribute.min.js. Instead of deleting the file I simply copied tribute.js over tribute.min.js and all works fine now.

mariuszkrzaczkowski commented 4 years ago

This can also be done

Gil37 commented 4 years ago

How exactly should I delete this tributemin file? I am sorry but I have little knowledge on this subject.

vovpff commented 4 years ago

@Gil37 just rename tribute.min.js to tribute.min.js_