See attachment.
Ubuntu 10.04
Chrome 5.0.375.70 beta

Comments

peter törnstrand’s picture

And the same site works when used via other browser?

jummonk’s picture

Same problem here. Works in FF 3.5.9. Not in Chrome.
Error message Uncaught SyntaxError: Unexpected token native
on line 91 of nodepicker.js: var native = selection.getNative()

replacing:

if($.browser.msie) {
          var native = selection.getNative();
          content = native.createRange().text;
        }
        else {
          content = selection.getNative().toString();
        }

with

          content = selection.getNative().toString();

solves it for chrome, FF 3.5, IE7 IE8. I don't know (care) about IE6

matulis’s picture

better replace with

        if($.browser.msie) {
          content = selection.getNative().createRange().text;
        }
        else {
          content = selection.getNative().toString();
        }
peter törnstrand’s picture

Commited and tested with:

  • Chrome 5.0.375.70
  • Firefox 3.63
  • Internet Explorer 6
  • Internet Explorer 7
peter törnstrand’s picture

Assigned: Unassigned » peter törnstrand
Status: Active » Fixed
daniel wentsch’s picture

I have the same issue on Windows 7 (32bit) on all browsers I tested: Firefox 3.6.3, Chrome 6.0.422.0 dev, Safari 5.0 and Opera 10.53. I also found out that after the black modal window has appeared once and got closed it won't appear another time, except after an entire page reload, of course.

peter törnstrand’s picture

Status: Fixed » Active

Ok... will try with other OS's then Mac OS X.

daniel wentsch’s picture

Now I also tried using Firefox and Safari on OS X (10.4.11) and had the same problem. Safari even crashed when clicking the nodepicker button. It's an ancient version though: 3.x.

What version of OS X and what browser(s) and versions are you working with? I start thinking the problem is somewhere else than browser incompatibilities.

peter törnstrand’s picture

I'm using Mac OS X 10.6.3 and Windows XP SP3. Browser versions are as follow:

* Chrome 5.0.375.70
* Firefox 3.6.3
* Internet Explorer 6
* Internet Explorer 7 (standalone)

daniel wentsch’s picture

Okay, we have one setup in common which I could quickly test now, too:
WinXP SP3 and Firefox 3.6.3: same problem here.
I'll keep posting if I find out anything that might cause conflicts.

Edit: changing my custom theme to garland didn't help neither.

peter törnstrand’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.