Add external js file
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 17 Jul 2014 16:39:31 +0000 (12:39 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 17 Jul 2014 16:39:31 +0000 (12:39 -0400)
This is to open new window if any links in the site goto another site.
instead of taking over main site.

Toolkit/Page.php

index 232821a..56db8fa 100755 (executable)
@@ -149,6 +149,7 @@ class Toolkit_Page
         $GLOBALS['topScripts'][] = JQUERY_CDN_JS;
         $GLOBALS['topScripts'][] = JQUERY_UI_CDN_JS;
         $GLOBALS['styleSheets'][] = JQUERY_UI_CDN_CSS;
+        $GLOBALS['bottomScripts'][] = MEDIA_APP_BASE_URL . 'libjs/external.js';
     }
 
     private function _video()