2011/1/16 Alex <mrzmanw...@gmail.com>:
> I tried to integrate it as neatly as possible, though the lack of
> documentation hasn't helped. Everything works fine, except when using
> IE. In IE, it just inserts the ref in some random location on the page,
> sometimes *near* where the cursor/highlight is, but sometimes its not
> even close. It seems to work differently with different compatibility
> mode settings, but even that isn't consistent. I've looked at some of
> the WikiEditor code and can't figure out why it isn't working, when the
> other dialogs in the standard toolbar work just fine.
>
Yeah IE has some nasty issues with selections.

Have you tried calling .dialog( 'close' ) before doAction() instead of
after? That's the only difference I can find between your code and the
built-in dialogs.

Roan Kattouw (Catrope)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to