Allows addition of outsite JS scripts.
authorStéphane Jacob <sj@m4x.org>
Wed, 18 May 2011 13:26:58 +0000 (15:26 +0200)
committerStéphane Jacob <sj@m4x.org>
Wed, 18 May 2011 13:26:58 +0000 (15:26 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
core
modules/profile.php

diff --git a/core b/core
index c16eff5..ac6f41a 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit c16eff5c3e6530afbb394a8c971dd5813a6f955d
+Subproject commit ac6f41acd95a154ff0893f5e239760e026eb9d2a
index b45d510..4ee5fb9 100644 (file)
@@ -330,8 +330,8 @@ class ProfileModule extends PLModule
         }
 
         // Build the page
-        $page->addJsLink('education.js', false); /* dynamic content */
-        $page->addJsLink('grades.js', false);    /* dynamic content */
+        $page->addJsLink('education.js', true, false); /* dynamic content */
+        $page->addJsLink('grades.js', true, false);    /* dynamic content */
         $page->addJsLink('profile.js');
         $wiz = new PlWizard('Profil', PlPage::getCoreTpl('plwizard.tpl'), true, true, false);
         $wiz->addUserData('profile', $profile);