From 7f646c692e3cd2c6d8c01eed8252ee9374082277 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20R=2E=20Sede=C3=B1o?= Date: Sun, 21 Mar 2010 23:39:05 -0400 Subject: [PATCH] load mobile javascript from the right path If bluechips is not at the webserver root, the mobile interface should still work. --- bluechips/templates/mobile/base.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluechips/templates/mobile/base.mako b/bluechips/templates/mobile/base.mako index 259c92a..4d81b40 100644 --- a/bluechips/templates/mobile/base.mako +++ b/bluechips/templates/mobile/base.mako @@ -12,7 +12,7 @@ ${h.javascript_link('//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js')} - ${h.javascript_link('/js/mobile.js')} + ${h.javascript_link('%s/js/mobile.js' % request.script_name)} % for message in h.flash.pop_messages(): -- 2.45.2