Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 235 posts 338 karma points MVP 2x c-trib
    Feb 10, 2010 @ 19:22
    Paul Marden
    0

    Insert Table problems

    I'm trying to insert a table into the a Rich Text Editor.  I've got insert table button enabled in TinyMCE, and when the button is clicked the dialog opens ok.  Trouble is when I click insert NOTHING happens.  The dialog flashes a bit but remains open and nothing is inserted.

    Is this a tinyMCE problem?

    Umbraco 4.0.3 (freshly upgraded from 4.0.1 about 10mins ago) on Windows Server 2k3.

  • Paul Sterling 719 posts 1556 karma points MVP 9x admin c-trib
    Feb 10, 2010 @ 19:28
    Paul Sterling
    0

    Paul -

    I'd try a hard-delete of your local browser cache - I've seen this more than once when the JS files are updated with the update to 4.0.3.

    -Paul

  • Paul Marden 235 posts 338 karma points MVP 2x c-trib
    Feb 10, 2010 @ 19:40
    Paul Marden
    0

    Nice try Paul but no good the problem's still there.

  • Chris 69 posts 75 karma points
    Feb 10, 2010 @ 20:18
    Chris
    0

    Hi Paul,

    I understand that you did an upgrade right before the problem occured. It's possible that some files got corrupted during the upgrade (especially when FTP'ing to a webhost.)

    Try removing the umbraco_client folder (after a backup) and adding it again from a freshly downloaded umbraco 4.0.3 install.

    Good luck,

    Chris

  • Chris 69 posts 75 karma points
    Feb 10, 2010 @ 20:20
    Chris
    0

    I forgot to mention. I've had a similar problem some time ago:

    http://forum.umbraco.org/yaf_postst9716_insertedit-link-not-working-in-rich-text-editor.aspx

    Chris

     

  • Paul Marden 235 posts 338 karma points MVP 2x c-trib
    Feb 11, 2010 @ 10:41
    Paul Marden
    0

    OK solved the problem:  It was caused by using Chrome.  When I use the same dialog in FF it works fine.

  • jc 64 posts 101 karma points
    Apr 14, 2010 @ 18:39
    jc
    0

    Not sure what is causing the error to happen in the first place, but here is a workaround.

    ~/umbraco_client/tinymce3/plugins/table/js/table.js

    There are two JavaScript errors that seem to happen only in WebKit browsers in the insertTable function:

    O = I.elements.frame.options[I.elements.frame.selectedIndex].value;

    L = I.elements.rules.options[I.elements.rules.selectedIndex].value;

    Both of these  cause this error: TypeError: Cannot read property 'value' of undefined

    If you look at the SELECT list for these they don't have an item selected. I tried to set selected="selected" on each of these but it had no effect. I ended up changing table.js to this:

    try {
        O = I.elements.frame.options[I.elements.frame.selectedIndex].value;
    } catch(e1) {
        O = "";
    }
    try {
        L = I.elements.rules.options[I.elements.rules.selectedIndex].value;
    } catch(e2) {
        L = "";
    }

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies