[FIXED] [V0.5.3] 0.5.2 breaks open window via link

  1. #1

    [FIXED] [V0.5.3] 0.5.2 breaks open window via link

    0.5.2 is breaking my window opening links.

    I reverted to 0.5.1 and they work fine.

    I'm using the below code to show my windows. Let me know if you want the code for the whole page.

    <Ext:ScriptManager ID="ScriptManager1" runat="server" Theme="Gray" Hide="true">
    <Listeners>
    <DocumentReady Handler="Ext.get('lnkHome').on('click', function() { winHome.show(); });
        Ext.get('lnkInd').on('click', function() { winInd.show(); });
        Ext.get('lnkOrg').on('click', function() { winOrg.show(); });
        Ext.get('lnkBev').on('click', function() { winInv.show(); });
        Ext.get('lnkAll').on('click', function() { winEvt.show(); });
       Ext.get('lnkPS').on('click', function() { winPay.show(); }); " />
    </Listeners>
    </Ext:ScriptManager>
  2. #2

    RE: [FIXED] 0.5.2 breaks open window via link

    I found the problem. As part of another bug fix the DocumentReady Listener was changed to read from the .Handler property in 0.5.1, to the .Fn property in v0.5.2.

    I've added an extra check in code and now everything will be backwards compatible.

    The difference between the .Fn and .Handler properties is that the .Handler property typically gets wrapped inside a "function(){}" template. The .Fn properties just outputs the raw value of whatever was added.

    As a temp fix, you can change your script from setting the "Hander" property to set the "Fn" property.

    I've added several new cool features and fixed several annoying bugs in the last few days, so I think I'm going to publish a 0.5.3 build. The fix described in this post will be included with the 0.5.3 build.
    Geoffrey McGill
    Founder
  3. #3

    RE: [FIXED] 0.5.2 breaks open window via link



    Working again.

    Thanx for the help!

    Is there an RSS feed for new releases? I couldn't find one...
  4. #4

    RE: [FIXED] 0.5.2 breaks open window via link

    Hi jlertle,

    The following forum post outlines a couple options for subscribing to Coolite Release Notes and keeping up to date with our progesss.

    http://forums.ext.net/showthread.php?postid=770.aspx

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. [1.0] Zooming in IE breaks screen/window size logic
    By plykkegaard in forum 1.x Help
    Replies: 5
    Last Post: Oct 12, 2012, 5:59 AM
  2. Replies: 1
    Last Post: Nov 11, 2010, 2:04 AM
  3. Replies: 3
    Last Post: Jan 25, 2010, 7:42 PM
  4. Replies: 5
    Last Post: Jun 16, 2009, 2:27 PM
  5. Replies: 5
    Last Post: Dec 12, 2008, 3:09 PM

Posting Permissions