-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Medium
-
None
-
Affects Version/s: 5.0.1
-
Component/s: None
-
Environment:
SO. MAC OSX.
Chrome 25.0.1364.99
It's impossible add links with Google Chrome when you edit an article.
Steps to reproduce.
1. Edit or create an article.
2. Create a link
3. Search previous article.
4. Click on save
After this action nothing seems happens. If you open the Chrome Dev Tools, this error appears.
Property 'scrollTo' of object [object global] is not a function
The code break in this point, "scrollTop" function.
if (AJS.$.browser.safari) { var G = AJS.$(window).scrollTop(); AJS.$(window).scrollTop(10 + 5 * (G == 10)).scrollTop(G) }
I notice this function works fine on Firefox and Sarafi, but doesn't on Chrome.
If you use a different selector instead "window", get the same effect and works on Safari as well.
My solution.
if (AJS.$.browser.safari) { var G = AJS.$(window).scrollTop(); AJS.$('html body').scrollTop(10 + 5 * (G == 10)).scrollTop(G) }
I notice this issue in last versions of Confluence, I migrated with the last versions but the error persists only with Google Chrome.