mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 00:55:42 +00:00
Let exceptions in GUI script events triggered by script setters propagate out of the setter, so error messages aren't useless.
This was SVN commit r8997.
This commit is contained in:
@@ -578,7 +578,7 @@ JSBool JSI_IGUIObject::setProperty(JSContext* cx, JSObject* obj, jsid id, jsval*
|
||||
break;
|
||||
}
|
||||
|
||||
return JS_TRUE;
|
||||
return !JS_IsExceptionPending(cx);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user