'ox19e is not a function' javascript error

Last post 02-12-2008, 11:16 AM by Adam. 7 replies.
Sort Posts: Previous Next
  •  02-04-2008, 1:13 PM 36773

    'ox19e is not a function' javascript error

    Here's one that's pretty easy to reproduce - that I think is causing me grief with saving changes made to styles...
     
    On your demo site:
     
    in the editor - select an item (e.g. just put cursor in a table cell) - choose Style dialog (either from breadcrumbs at bottom or context menu - when the dialog opens - click OK button to close dialog.
     
    Get an  'ox19e is not a function' error - happens in IE and Firefox

    Is this a known issue?
     
    Any fix ETA?
  •  02-05-2008, 5:33 AM 36789 in reply to 36773

    Re: 'ox19e is not a function' javascript error

    mikea,
     
    We cannot reproduce this issue in the following example (using ie 6.0 and firefox 2.0):
     
     
    can you try this example?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-05-2008, 8:32 AM 36796 in reply to 36789

    Re: 'ox19e is not a function' javascript error

    Hey Adam,
     
    Still fails. I'm using FF 2.0.0.11.
     
    Place mouse inside table cell
    Click <td> breadcrumb button at bottom
    Select Style
    When you OK the style dialog you get the error.
     
    -------------------- 
    I did some digging. Search for Ox19e in CuteEditorImplementation.js and locate this function:  (that's an O not a zero)
     
    function Ox6ec(element,Ox19e,Ox6ed,Ox6ee,Ox6ef){
        var Ox5b0=Ox6d3();
     
        function Ox6f0(Ox60){
            if(!Ox60){
                Ox6d4(Ox5b0,true) ;
                Ox8d6() ;
            } ;
     
            if(Ox19e!=null){
                Ox19e(Ox60);
            };
        };
     
        Ox6f2(element,Ox6f0,Ox6ed,Ox6ee,Ox6ef) ;
    }
     
    See how the embedded function ox6f0 is the callback for the modal dialog call (ox6f2)?

    When the dialog closes and the callback fires, ox19e equals the string "style" which is not null but also not a function - thus the error when this line tries to execute in the callback:
     
    Ox19e(Ox60)
     
    Hope this helps. For now I've commented out this call to Ox19e. (having no idea what the side affect is...)
     
    BTW - Debugging obfuscated code is a drag. Any chance since I have a source code license for v5, I can get the unobfus source for 6? 
     
    If I promise to keep sharing what I find? :)
     
    Thanks for looking into it. 
    Michael


    Minimally helpful screenshot from Firebug (unobfus code would make this picture much prettier ;)
     

     
     
  •  02-07-2008, 3:50 AM 36836 in reply to 36796

    Re: 'ox19e is not a function' javascript error

    mikea,
     
    I am using firefox 2.0.0.11 with Firebug as well.
     
    I cannot reproduce this issue.
     
    Can you clear your browser cache and try again?
     
    >>Any chance since I have a source code license for v5, I can get the unobfus source for 6? 
     
    Please write to karen@cutesoft.net and specify the email address used when placing the order.
     
    She will find your record and give your correct recommendation.

     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-07-2008, 9:12 AM 36856 in reply to 36836

    Re: 'ox19e is not a function' javascript error

    Cleared cache and also used several different machines - still happens every time. On IE you get the "Runtime Error" do you wish to debug. Big bummer for our users (now numbering in the thousands...)
     
     
    Hitting:
     
    place cursor on anything
    select "style" option off of tag breadcrumb menu at bottom of editor (not "properties")
    close style dialog w/ ok button
    boom.
     
    Are you setup to trap javascript errors in your browser?
    Test it with IE and make sure you have not disabled script debugging in Advanced Options.
     
    Does not happen in FF on Mac - but that version does not let you open the style dialog from the style menu option.
    Same is true in Safari. Both only offer flyout menus - you can't click on "Style" menu item.
     
    I did notice this though on FF/Win and IE/Win: the Properties dialog appears to be the same as the Style dialog. Opening the Properties dialog from the menu and close w/ OK and the problem does NOT occur. Open the Stlye dialog from the menu and the problem happens...these appear to be the same dialogs/code but something must be different.
     
    Given that the function its trying to execute is actually a string with the value "style" (see my earlier post) I am very suspicuous and would like to walk the call stack on both paths to see what is different - but doing that w/ obfus code is nearly impossible.
     
    Let me know if you want to go offline w/ this. More than happy to help.
     
    -Michael
     
  •  02-07-2008, 2:32 PM 36867 in reply to 36856

    Re: 'ox19e is not a function' javascript error

    I can replicate this in the same Firefox version.
     
    Go to http://cutesoft.net/example/general.aspx, click <p> in the bottombar and then click style in the popup menu. OK and Cancel both produce this error.

    Ox19e is not a function
    http://cutesoft.net/CuteSoft_Client/CuteEditor/Load.ashx?type=scripts&file=Gecko_Loader
    Line 5
  •  02-07-2008, 2:38 PM 36868 in reply to 36867

    Re: 'ox19e is not a function' javascript error


    Thanks Fred.
  •  02-12-2008, 11:16 AM 36979 in reply to 36868

    Re: 'ox19e is not a function' javascript error

    This is a quick fix.

    http://cutesoft.net/download/Scripts02-12-2008.zip


    Download this file and extract the files, then copy the files to CuteSoft_Client\CuteEditor folder.
     
    Keep me posted


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML