Author: toshok
Date: 2007-06-20 17:38:26 -0400 (Wed, 20 Jun 2007)
New Revision: 80370
Modified:
trunk/moon/plugin/plugin.cpp
Log:
better fix
Modified: trunk/moon/plugin/plugin.cpp
===================================================================
--- trunk/moon/plugin/plugin.cpp 2007-06-20 21:37:52 UTC (rev 80369)
+++ trunk/moon/plugin/plugin.cpp 2007-06-20 21:38:26 UTC (rev 80370)
@@ -386,9 +386,10 @@
surface_attach (this->surface, element);
#endif
- if (!this->isLoaded && this->onLoad) {
+ if (!this->isLoaded) {
this->isLoaded = true;
- JsExecute (this->onLoad);
+ if (this->onLoad)
+ JsExecute (this->onLoad);
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches