-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update JQuery & JQueryUI #3813
Comments
Note to myself: Have a look at https://github.com/jquery/jquery-migrate/#readme |
The history plugin we are using doesn't work with new jquery version. Unfortunatly it is not maintained anymore (see http://tkyk.github.com/jquery-history-plugin/). I'll try to fix that plugin or look for something to use instead |
It might also be possible to remove the jquery.tooltip plugin. It is not maintained anymore and jquery ui has now also a tooltip widget included... |
We will also have to update jqplot. As the old version doesn't work with new jquery |
FYI: I tried to upgrade while working on the map widget, but that opened a door to hell so I stopped it after two lost hours or so. |
Stefan, did you use fade-in for showing the tooltip on purpose? IMHO, it's not ideal in some cases. For example:
So I would propose not to use fade-in and all these items should be fixed. What do you think? Is there a way to set the default options for $.toolip? Or would we have change every call? |
Currenty the default behaviour is used. |
I'll close that ticket for now. If there are any regressions please reopen. |
Superb commits... It is very useful to use these latest versions. Feedback:
Great work anyway, works nicely. Btw, are there other JS libraries, or JS plugins, we could update to their latest versions as well? |
I considered replacing jquery.browser, but I don't think it makes sense, so I readded it as a "plugin". jQuery suggests to replace it with one of those feature detection frameworks. I'll have a look at your regressions and fix them asap. I had a look at the other jquery plugins we are still using, but there aren't any newer versions. |
I deployed these fixes on demo and it now works! The last feedback would be to allow Row evolution and other RowActions in Widgetize mode, and maybe have a rule to enable them only if Width available > 700 or so. |
Thanks for the updates, it's almost perfect now... When a row action is clicked, the tooltip is not hidden immediately (i.e. in the click event). In Transitions, it is hidden once the popover content is loaded (which can be seconds after the click). For Row Evolution and Overlay, it is not hidden at all (at least as long as the mouse is not moved). |
Nice updates! Updated beta10 to demo and found some bugs:
|
There was also a bug reported in the forums on IE8.
|
Replying to matt:
Seems to be related to the callbacks used by the api method of that datatable. Removing them makes the table work... don't know why -.-
fixed by my last commit |
As the search engines report seems to be fixed with [204cbc0]. I guess everything is done? |
Nice fixes! I upgraded demo to b11. I found a few more bugs:
|
Somehow the "Row evolution regressioN" I cannot replicate consistently.. sometimes it work, sometimes it doesn't. Also tested dashboard and found:
|
The new Tooltip introduces XSS in Piwik! Payload: Then go to Referers> Websites I get a 'XSS' popup! Luckyly I often use XSS payloads to test ;-) Thanks for fixing! |
And nice work on the other fixes, appart from above, I can't find other problems for now :) |
I don't think that is caused by the tooltips, as they escape html by default. But I'll have a look... |
The bug is in the tooltip somehow (I think). Fixing the datatable_cell is not enough as it appears in other cases as well:
|
|
"Next" is always shown in the visitor log. This is a hack that has been there forever. When I made the latest changes to the plugin, I made the hack better (i.e. less ugly) but it's still there. My point is that it's not related to this ticket and not even a regression. It could be added to a list of possible improvements for the visitor log. |
Thanks for clarification. |
Another try to close that ticket. |
Thanks Stefan. Sorry for silence last few days... I plan to do a bit more testing this week but code/features look very good! |
We need to do an update of JQuery and JQueryUI.
JQuery 1.7.2 -> 1.9.1
JQueryUI 1.8.22 -> 1.10.2
As the last update was quite a long time ago, there might be some code changes required...
The text was updated successfully, but these errors were encountered: