Konqueror not reacting on window.open()
David Faure
faure at kde.org
Wed May 28 15:33:47 BST 2008
On Saturday 24 May 2008, Harri Porten wrote:
> Hi!
>
> Since some time (not sure how long, Fredrik reported it before on #khtml)
> does not handle window.open() calls from JavaScript anymore. Simple test
> case:
>
> <html>
> <p onclick="window.open('www.kde.org')">Click me</p>
> </html>
>
> I debugged it only as far as seeing that
> BrowserExtension::createNewWindow() does not "return" a KPart pointer when
> called Window::executeOpenWindow() (khtml/ecma/kjs_window.cpp). Guess it
> should.
>
> David, I am suspecting one of the MMB fixes like r805892 or r805219 broke it.
Oops, fixed.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list