Superlinks 1.4-2 javascript problem with treemenu's jstree

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
marthin
Posts: 10
Joined: Wed Sep 04, 2013 12:11 pm

Superlinks 1.4-2 javascript problem with treemenu's jstree

Post by marthin »

Hi,

When superlinks is installed and enabled, the jquery that ships with it, breaks the treemenu jstree jquery script.

I have tried to find a way to exclude 'jquery-latest.min.js' from loading in graph_view.php, however have had no luck.

You're assistance here would be much appreciated.

Problem Statement:
Have treemenu (jstree) work as expected with superlinks enabled.


Here are the results from testing showing the problem:

1. Superlinks installed not enabled.
1. Superlinks installed not enabled.
1. Superlinks installed not enabled.
1.png (100.58 KiB) Viewed 1657 times
2. Treeview menu (treemenu) works.
2. Treeview menu (treemenu) works.
2. Treeview menu (treemenu) works.
2.png (110.95 KiB) Viewed 1657 times
3. Scripts loaded. superlinks jquery not there.
3. Scripts loaded. superlinks jquery not there.
3. Scripts loaded. superlinks jquery not there.
3.png (213.84 KiB) Viewed 1657 times
4. Error console. Nothing mentioned of jstree.
4. Error console. Nothing mentioned of jstree.
4. Error console. Nothing mentioned of jstree.
4.png (170.67 KiB) Viewed 1657 times
5. Superlinks enabled.
5. Superlinks enabled.
5. Superlinks enabled.
5.png (100.64 KiB) Viewed 1657 times
(to continue due to limit of attachments)
Last edited by marthin on Thu Sep 05, 2013 3:19 am, edited 1 time in total.
marthin
Posts: 10
Joined: Wed Sep 04, 2013 12:11 pm

Re: Superlinks 1.4-2 javascript problem with treemenu's jstr

Post by marthin »

(continued from previous)

6. Treeview menu (treemenu) broken.
6. Treeview menu (treemenu) broken.
6. Treeview menu (treemenu) broken.
6.png (109.78 KiB) Viewed 1656 times
7. Superlinks jquery script is loaded.
7. Superlinks jquery script is loaded.
7. Superlinks jquery script is loaded.
7.png (212.41 KiB) Viewed 1656 times
8. Error console reports issue with jstree.
8. Error console reports issue with jstree.
8. Error console reports issue with jstree.
8.png (178.15 KiB) Viewed 1656 times

Cacti Version: 0.8.8b
Plugin Architecture Version: 3.1
Apache/2.4.6 (Debian)
PHP 5.5.1-2

Please see attached the technical support output for the complete system info.

Many thanks
Marthin
Attachments
Console -_ Utilities -_ Technical Support.pdf
Technical support output.
(166.09 KiB) Downloaded 131 times
havok1977
Posts: 49
Joined: Fri Apr 08, 2005 1:41 pm

Re: Superlinks 1.4-2 javascript problem with treemenu's jstr

Post by havok1977 »

Hello

We are having the exact same issue. Is there a fix for it?
marthin
Posts: 10
Joined: Wed Sep 04, 2013 12:11 pm

Re: Superlinks 1.4-2 javascript problem with treemenu's jstr

Post by marthin »

Hi,

In the end I fixed it by installing installing Cacti from 'source', and not from the Debian/Ubuntu packages. somehow the jquery that got bundled with the package had this issue.

rgds
Marthin
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest