Skip to content

Commit

Permalink
Base smartmobile files should be stored in a separate bundle, since i…
Browse files Browse the repository at this point in the history
…t is the same code across applications
  • Loading branch information
slusarz committed Feb 3, 2014
1 parent 6db21a6 commit f6acd53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Core/lib/Horde/PageOutput.php
Expand Up @@ -765,7 +765,8 @@ public function header(array $opts = array())
($this->debug ? 'jquery.mobile/jquery.mobile.js' : 'jquery.mobile/jquery.mobile.min.js')
);
foreach ($smobile_files as $val) {
$this->addScriptFile(new Horde_Script_File_JsFramework($val, 'horde'));
$ob = $this->addScriptFile(new Horde_Script_File_JsFramework($val, 'horde'));
$ob->cache = 'package_smartmobile';
}

$this->smartmobileInit = array_merge(array(
Expand Down

0 comments on commit f6acd53

Please sign in to comment.