Meteor Gantt Tooltip Help

Hello,

I dropped the tooltip.js file in a client directory. When I mouse over the task I receiving a “Uncaught ReferenceError: _isIE is not defined”. Any thoughts on how to fix this?

Thanks!

Doug

Hello,

Could you provide with a demo link, where the problem can be reproduced?
Check the snippet where tooltip works correctly:
docs.dhtmlx.com/scheduler/sample … oltip.html

Hi Polina,

Thank you for your quick reply!! I can’t upload the demo because it’s a work computer. All I am doing is dropping the tooltip.js file into a client directory and that error is happening. Maybe the new version of meteor is breaking the dhtmlx gantt chart?

Doug

Hi,

Please be sure that you are using dhtmlxgantt.js and tooltip.js from the same version.
Mixing files from different versions can cause the similar issue.

Hi Stanislav,

I used the file from the package listed on the GIT. Anything else you can think of? I’m using meteor 1.3 which could be the problem. Should I drop any other files in the client folder which will define the isIE variable?

Thanks!

Doug

So I edited the tooltip file and just changed this line of code to override isie check and it works.

var n = _ISIE ? document.documentElement : document.body, e = {

to

var n = 1 ? document.documentElement : document.body, e = {

Not sure if it breaks anything else!!!

Hi, It seems you have mixed js file somehow, because dhtmlxgantt.js in Meteor-Gantt repository does contain _isIE constant
Anyway, we will update the repo with latest version of Gantt ( 4.0 )