commit | d76720cc562b9122c5c04427decb1727c78bd562 | [log] [tgz] |
---|---|---|
author | Jacek Caban <jacek@codeweavers.com> | Wed Oct 28 22:55:26 2009 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Oct 29 13:08:26 2009 +0100 |
tree | 835691f3c8f85701fba8c5e16a057bb59ddea5ca | |
parent | ceb02fb0272fcf6db934039ed024f6af96523d34 [diff] |
mshtml: Inherit scriptmode from parent window.
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 9b8dda3..5b07b0f 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c
@@ -1582,7 +1582,7 @@ window->nswindow = nswindow; } - window->scriptmode = SCRIPTMODE_GECKO; + window->scriptmode = parent ? parent->scriptmode : SCRIPTMODE_GECKO; list_init(&window->script_hosts); window->task_magic = get_task_target_magic();