Fixes the way we serve grades.js & applis.js. Both used to be served as pure static...
authorVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 14 Nov 2009 23:58:24 +0000 (00:58 +0100)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Sat, 14 Nov 2009 23:58:24 +0000 (00:58 +0100)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
core
modules/profile.php

diff --git a/core b/core
index 7f6619f..47a44ed 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 7f6619f92e410517bd2bebda355bc68f669b22a3
+Subproject commit 47a44ed04982abfee731ded1921cbf49f9926db9
index 016fd32..3e888c9 100644 (file)
@@ -330,8 +330,8 @@ class ProfileModule extends PLModule
 
         // Build the page
         $page->addJsLink('ajax.js');
 
         // Build the page
         $page->addJsLink('ajax.js');
-        $page->addJsLink('applis.js');
-        $page->addJsLink('grades.js');
+        $page->addJsLink('applis.js', false /* dynamic content */);
+        $page->addJsLink('grades.js', false /* dynamic content */);
         $page->addJsLink('profile.js');
         $page->addJsLink('jquery.autocomplete.js');
         $wiz = new PlWizard('Profil', PlPage::getCoreTpl('plwizard.tpl'), true, true);
         $page->addJsLink('profile.js');
         $page->addJsLink('jquery.autocomplete.js');
         $wiz = new PlWizard('Profil', PlPage::getCoreTpl('plwizard.tpl'), true, true);