[SOLVED]Zoom problem with 1.1.2

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
levi
Posts: 41
Joined: Wed Oct 24, 2007 1:08 am
Location: Yerevan, Armenia
Contact:

[SOLVED]Zoom problem with 1.1.2

Post by levi »

Hello,

We have an annoying problem with cacti's zoom feature.

It is hard to explain but i will try. In short, the zoom is not finishing, in quick mode, when i click once to start the zoom i get following in chrome's debug window:

Code: Select all

jquery.js:273 Uncaught Error: cannot call methods on selectmenu prior to initialization; attempted to call method 'refresh'
    at Function.error (https://localhost/include/js/jquery.js:273:9)
    at HTMLSelectElement.<anonymous> (https://localhost/include/js/jquery-ui.js:6:9075)
    at Function.each (https://localhost/include/js/jquery.js:368:19)
    at jQuery.fn.init.each (https://localhost/include/js/jquery.js:157:17)
    at jQuery.fn.init.e.fn.(anonymous function) [as selectmenu] (https://localhost/include/js/jquery-ui.js:6:8817)
    at setCustomFilterActionActionAndDate (https://localhost/include/js/jquery.zoom.js:698:40)
    at zoomAction_zoom_in (https://localhost/include/js/jquery.zoom.js:638:4)
    at HTMLDivElement.<anonymous> (https://localhost/include/js/jquery.zoom.js:434:9)
    at HTMLDivElement.dispatch (https://localhost/include/js/jquery.js:5110:27)
    at HTMLDivElement.elemData.handle (https://localhost/include/js/jquery.js:4918:28)
error @ jquery.js:273
(anonymous) @ jquery-ui.js:6
each @ jquery.js:368
each @ jquery.js:157
e.fn.(anonymous function) @ jquery-ui.js:6
setCustomFilterActionActionAndDate @ jquery.zoom.js:698
zoomAction_zoom_in @ jquery.zoom.js:638
(anonymous) @ jquery.zoom.js:434
dispatch @ jquery.js:5110
elemData.handle @ jquery.js:4918
jquery.js:273 
When i click for second time to select zoom area i get following error

Code: Select all

Uncaught Error: cannot call methods on selectmenu prior to initialization; attempted to call method 'refresh'
    at Function.error (https://localhost/include/js/jquery.js:273:9)
    at HTMLSelectElement.<anonymous> (https://localhost/include/js/jquery-ui.js:6:9075)
    at Function.each (https://localhost/include/js/jquery.js:368:19)
    at jQuery.fn.init.each (https://localhost/include/js/jquery.js:157:17)
    at jQuery.fn.init.e.fn.(anonymous function) [as selectmenu] (https://localhost/include/js/jquery-ui.js:6:8817)
    at setCustomFilterActionActionAndDate (https://localhost/include/js/jquery.zoom.js:698:40)
    at zoomAction_zoom_in (https://localhost/include/js/jquery.zoom.js:638:4)
    at HTMLDivElement.<anonymous> (https://localhost/include/js/jquery.zoom.js:434:9)
    at HTMLDivElement.dispatch (https://localhost/include/js/jquery.js:5110:27)
    at HTMLDivElement.elemData.handle (https://localhost/include/js/jquery.js:4918:28)
And no zoom.
Any thoughts why it could happen?

P.S. The same was with 1.1.1 and in different browsers.
P.P.S. Our OS is Ubuntu 14.04 LTS, please let me know if you need package versions.
Last edited by levi on Sun Apr 16, 2017 3:34 pm, edited 1 time in total.
Best Regards.
pathogenferry
Posts: 6
Joined: Fri Mar 31, 2017 9:42 am

Re: Zoom problem with 1.1.2

Post by pathogenferry »

I have this issue as well. It existed in 1.1.1 also but I have not been able to solve it.
jozatan
Posts: 11
Joined: Sun Apr 09, 2017 1:10 am
Location: San Diego, CA

Re: Zoom problem with 1.1.2

Post by jozatan »

Same here. Running 1.1.2. Testing with firefox and edge. OS: centos7
pathogenferry
Posts: 6
Joined: Fri Mar 31, 2017 9:42 am

Re: Zoom problem with 1.1.2

Post by pathogenferry »

I tried editing some of the jQuery in /var/www/html/cacti/include/js/jquery-zoom.js based on a couple of suggestions on other forums, specifically referring to the selectmenu directive, but this did not work. The issue is clearly very much in the area of a web developer, which I am not. Perhaps we should file this as a bug with the devs as at least three of us have now experienced it.
levi
Posts: 41
Joined: Wed Oct 24, 2007 1:08 am
Location: Yerevan, Armenia
Contact:

Re: Zoom problem with 1.1.2

Post by levi »

It seems that problem exists only with classic theme, with all other themes zoom is working.
Best Regards.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Zoom problem with 1.1.2

Post by Osiris »

Fixed in 1.1.3
Before history, there was a paradise, now dust.
levi
Posts: 41
Joined: Wed Oct 24, 2007 1:08 am
Location: Yerevan, Armenia
Contact:

Re: Zoom problem with 1.1.2

Post by levi »

Osiris wrote:Fixed in 1.1.3
Confirmed! Marking as solved.
Best Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest