From 5b720da772f7a54fb64ee0db5fdcbfbffc6dedbf Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 12 Sep 2007 14:30:46 +0000 Subject: Fix some javascript warnings --- itjs/state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itjs/state.js b/itjs/state.js index 73e41cb..70d9909 100644 --- a/itjs/state.js +++ b/itjs/state.js @@ -52,7 +52,7 @@ new_history_entry: function(p) ED('it_state::new_history_entry(): it_state object not found!'); var idoc; - if (idoc = it_get_iframe_document(this.it_iframe)) + if ((idoc = it_get_iframe_document(this.it_iframe))) { idoc.title = document.title; idoc.forms[0].submit(); -- cgit v1.2.3