Mercurial > hg > mpiwg_geobrowser
diff plugins/content_types/mpiwg_geobrowser_table.inc @ 1:ea066ce001bd
bug fixes, works now without admin rights
author | Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 29 May 2015 13:59:32 +0200 |
parents | b57c7821382f |
children |
line wrap: on
line diff
--- a/plugins/content_types/mpiwg_geobrowser_table.inc Thu May 28 10:28:12 2015 +0200 +++ b/plugins/content_types/mpiwg_geobrowser_table.inc Fri May 29 13:59:32 2015 +0200 @@ -22,6 +22,10 @@ $block->content .= ' <div id="tableContainerDiv" style="position:relative;"></div> <script type="text/javascript"> + + if (typeof TableWidget_l=="undefined") + { + var table = null; var tableWidget = null; var mpiwg_geobrowser_tableInitialized = false; @@ -38,6 +42,8 @@ document.dispatchEvent(widgetLoadedEvent); } }); +TableWidget_l=true; +} </script> ';