diff --git a/js/common.js b/js/common.js index e1de64a54..1d52c9770 100644 --- a/js/common.js +++ b/js/common.js @@ -437,7 +437,7 @@ function openDb(new_db) { function updateTableTitle( table_link_id, new_title ) { //alert('updateTableTitle'); - if ( window.parent.frame_navigation.document.getElementById(table_link_id) ) { + if ( window.parent.frame_navigation.document && window.parent.frame_navigation.document.getElementById(table_link_id) ) { var left = window.parent.frame_navigation.document; var link = left.getElementById(table_link_id);