diff options
author | Silvio <silvio@socioambiental.org> | 2013-11-06 18:09:17 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2013-11-06 18:09:17 -0200 |
commit | 61a6e1ba091442fa5051ec7e49f3f60496195ae2 (patch) | |
tree | 928c146967844ab85939cefb089f87cc7f191a4c /timelinejs.module | |
parent | 329de8ec6cb06f7e3f1d6baadfe427c918b1712b (diff) | |
download | timelinejs-61a6e1ba091442fa5051ec7e49f3f60496195ae2.tar.gz timelinejs-61a6e1ba091442fa5051ec7e49f3f60496195ae2.tar.bz2 |
Use MakeMenuLinksOpenInNewWindow() just on widget mode
Diffstat (limited to 'timelinejs.module')
-rw-r--r-- | timelinejs.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/timelinejs.module b/timelinejs.module index 19cc0cb..ce48632 100644 --- a/timelinejs.module +++ b/timelinejs.module @@ -184,6 +184,7 @@ function timelinejs_widget($nid = NULL, $width = '960px', $height = '500px') { $output .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; $output .= '<html style="height: 100%;"><head>'; $output .= '<title>'. t('Timeline: @title', array('@title' => $node->title)) .'</title>'; + $output .= '<script type="text/javascript">timelineWidget = true;</script>'; $output .= '</head><body class="widget timeline-widget" style="height: 100%; margin: 0px;">'; $output .= timelinejs($nid, $width, $height); $output .= '</body></html>'; |