Hi,
I am using the package v19.1.0.58 with <script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
I have two new issues using Diagram (see below). I suspect that my version is no longer up to date compared to the js file.
Error1:
ej2.min.js:formatted:145341 Uncaught TypeError: Cannot read property 'close' of undefined
at e.closeTooltip (ej2.min.js:1)
at t.e.endAction (ej2.min.js:1)
at t.e.mouseUp (ej2.min.js:1)
at t.mouseUp (ej2.min.js:1)
at e.mouseUp (ej2.min.js:1)
e.prototype.closeTooltip = function() {
this.diagram.tooltipObject.close()
}
And the second error:
Uncaught TypeError: Cannot read property 'match' of undefined
at Object.eval (eval at A (ej2.min.js:1), <anonymous>:21:33)
at ej2.min.js:1
at lc (ej2.min.js:1)
at t.set [as content] (ej2.min.js:1)
at gc (ej2.min.js:1)
at t.initAnnotationWrapper (ej2.min.js:1)
at t.initAnnotations (ej2.min.js:1)
at t.initNode (ej2.min.js:1)
at t.initObject (ej2.min.js:1)
at t.initNodes (ej2.min.js:1)
Can you confirm this is due to the difference of versions between the package and the js file?
If it is so, how can I have a js file synchronized with the version?
Regards,
Laurent
Hi Arun,
Thanks for your answer.
After further investigations, it is a problem due to the use of annotation template with <a rel='nofollow' href...></a> in the template.
It used to work last weeks. When I replace the hyperlink with an input, it works fine. I can deal with that.
I have still a question:
How can I have a js file synchronized with my package version?
when using <script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>, I have the lastest js file.
Regards,
Laurent
//Instead of the version you can use your required version.
<script src=https://cdn.syncfusion.com/ej2/{* version *}/dist/ej2.min.js type="text/javascript"></script>
<script src=https://cdn.syncfusion.com/ej2/19.2.48/dist/ej2.min.js type="text/javascript"></script>
|