jeudi 12 juin 2014

Javascript anchors HOSE all HtmlField components in IE9



  1. Thank you for reporting this bug. We will make it our priority to review this report.







  2. Exclamation Javascript anchors HOSE all HtmlField components in IE9



    Javascript anchors HOSE all HtmlField components in IE9





    Any link in this form:

    Code:



    <a href="javascript:dosomething()">blah</a>

    Destroys the IFRAME used for any HtmlField components on the page -- but only in IE9, not Chrome.

    The same thing happens if the link goes to a URL that is just a downloadable file (which, like javascript URIs, doesn't result in a new page).


    I'm guessing here that ExtJS is trying destroy the IFRAME resource to prevent a memory link or something, but it hopelessly breaks all functionality that depends on actions called via an HTML anchor (including TreePanel href actions).


    This really, really is ruining my day. Changing the anchor's target works for links that, say, download a file, but it does NOT work for "javascript:"-called code that needs to execute in the page.














  3. Default







    It doesn't appear to do this every time -- sometimes refreshing the page and trying again works, sometimes it doesn't.

    The Javascript called doesn't matter -- calling an empty function exhibits the same behavior.














Aucun commentaire:

Enregistrer un commentaire