Mercurial > hg > mpiwg_geobrowser
comparison plugins/content_types/mpiwg_geobrowser_table.inc @ 3:19f75fe342eb
minor changes
author | Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 12 Oct 2015 08:33:28 +0200 |
parents | b57c7821382f |
children |
comparison
equal
deleted
inserted
replaced
0:b57c7821382f | 3:19f75fe342eb |
---|---|
20 | 20 |
21 // Add in the content | 21 // Add in the content |
22 $block->content .= ' | 22 $block->content .= ' |
23 <div id="tableContainerDiv" style="position:relative;"></div> | 23 <div id="tableContainerDiv" style="position:relative;"></div> |
24 <script type="text/javascript"> | 24 <script type="text/javascript"> |
25 | |
26 if (typeof TableWidget_l=="undefined") | |
27 { | |
28 | |
25 var table = null; | 29 var table = null; |
26 var tableWidget = null; | 30 var tableWidget = null; |
27 var mpiwg_geobrowser_tableInitialized = false; | 31 var mpiwg_geobrowser_tableInitialized = false; |
28 mpiwg_geobrowser_widgetsCount++; | 32 mpiwg_geobrowser_widgetsCount++; |
29 jq1110(document).ready(function() { | 33 jq1110(document).ready(function() { |
36 } | 40 } |
37 mpiwg_geobrowser_tableInitialized = true; | 41 mpiwg_geobrowser_tableInitialized = true; |
38 document.dispatchEvent(widgetLoadedEvent); | 42 document.dispatchEvent(widgetLoadedEvent); |
39 } | 43 } |
40 }); | 44 }); |
45 TableWidget_l=true; | |
46 } | |
41 </script> | 47 </script> |
42 '; | 48 '; |
43 | 49 |
44 return $block; | 50 return $block; |
45 } | 51 } |