You are here: Foswiki>Tasks Web>Item13602 (10 Oct 2015, GeorgeClark)Edit Attach

Item13602: JQuery::UI recursive loop opening tabs after a login redirect back to the page.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Engine
Component: JQueryPlugin
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
This is the somewhat innocuous looking topic:

---+ DO NOT LOGIN on this page!
---++ Probably will crash your browser.

%JQREQUIRE{"ui::tabs"}%
<div id="tabs" class="jqUITabs">
        <ul>
                <li><a href="#tabs-1">DO NOT LOGIN HERE!</a></li>
        </ul>
        <div id="tabs-1">
---+ DO NOT LOGIN on this page!
---++ Probably will crash your browser.
        </div>
</div>

If you visit the page, then click login, when the redirect returns, the page begins opening nested tabs. Have to close the window to stop it. As long as the page is not the target of a returning redirect, it appears to work fine.

-- GeorgeClark - 03 Aug 2015

This is a bug in jquery-ui reported 4 years ago (http://bugs.jqueryui.com/ticket/7822) ... which they don't fix being in state worksforme frown, sad smile

Here's our super simple fix that worksforus.

This bug applies to every version of JQueryPlugin since jquery-1.8 was added.

-- MichaelDaum - 04 Aug 2015
 

ItemTemplate edit

Summary JQuery::UI recursive loop opening tabs after a login redirect back to the page.
ReportedBy GeorgeClark
Codebase 2.0.1, 2.0.0, 1.1.9
SVN Range
AppliesTo Engine
Component JQueryPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:88b4bba1f122
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:88b4bba1f122
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 10 Oct 2015, GeorgeClark - This page was cached on 29 Jul 2016 - 14:09.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License