KHTML Plugins

Leo Savernik l.savernik at aon.at
Sun Jul 3 20:27:41 BST 2005


Am Freitag, 1. Juli 2005 20:32 schrieb Florian Roth:
> If you now change the data attribute of the object tag using DOM (unsing
> JavaScript or from your app embedding a KHTMLPart) the plugin is
> reloaded/a new plugin is loaded depending on the new mimetype. This is
> absolutly OK, because the mimetype might have changed. 

This is good news that dynamically changing the source finally works.

> But if the mimetype 
> did not change? Or the mimetype was fixed using the type attribute?
> Shouldn't it be enough to notify the plugin (if it's a kpart, of course) of
> the change and call openURL() instead of reloading the complete plugin?

Yes, it should. Any volunteers to find out why it's reloading?

mfg
	Leo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050703/71d8cdaa/attachment.sig>


More information about the kfm-devel mailing list