From 8fb4fc437ac0007fc3cae4b712fc2ffe4105e8a4 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sun, 30 Oct 2005 04:33:40 +0000 Subject: [PATCH] Redraw the title when the document changes it with ECMAScript. --- src/ecmascript/spidermonkey/document.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ecmascript/spidermonkey/document.c b/src/ecmascript/spidermonkey/document.c index 6b2738b5a..052ea1139 100644 --- a/src/ecmascript/spidermonkey/document.c +++ b/src/ecmascript/spidermonkey/document.c @@ -177,6 +177,7 @@ document_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) switch (JSVAL_TO_INT(id)) { case JSP_DOC_TITLE: mem_free_set(&document->title, stracpy(jsval_to_string(ctx, vp))); + print_screen_status(doc_view->session); break; case JSP_DOC_URL: /* According to the specs this should be readonly but some