From cbbb6e906fee289067f3d8fbb0e9a3ee5bbb6dd3 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 21 Jun 2012 15:53:01 -0400
Subject: [PATCH] Fixed mobile layout to match blueprint layout.

---
 themes/vufind/jquerymobile/templates/layout/layout.phtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/vufind/jquerymobile/templates/layout/layout.phtml b/themes/vufind/jquerymobile/templates/layout/layout.phtml
index 5a9406227c9..c576baadeec 100644
--- a/themes/vufind/jquerymobile/templates/layout/layout.phtml
+++ b/themes/vufind/jquerymobile/templates/layout/layout.phtml
@@ -10,7 +10,7 @@
     <?=$this->headLink()?>
     <?
         // Set global path for Javascript code:
-        $this->headScript()->prependScript("path = '" . $this->baseUrl() . "';");
+        $this->headScript()->prependScript("path = '" . rtrim($this->url('home'), '/') . "';");
     ?>
     <?=$this->headScript()?>
   </head>
-- 
GitLab