From cf40447356cbf5ac7023e0b0c47109e0bb0b93de Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 5 Mar 2011 21:26:56 -0800 Subject: [PATCH] Fix the thickbox loading image path --- app/views/layouts/base.rhtml | 1 + public/javascripts/common.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 52c8ce6b..9b977847 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -22,6 +22,7 @@ <%= javascript_include_tag 'jquery.1.3.2.min.js' %> <%= javascript_include_tag 'jquery.hoverIntent.minified.js' %> <%= javascript_include_tag 'thickbox.min.js' %> +<%= javascript_tag("var tb_pathToImage='#{image_path('loadingAnimation.gif')}'") %> <%= javascript_include_tag 'common.js' %> <%= heads_for_theme %> <%= heads_for_wiki_formatter %> diff --git a/public/javascripts/common.js b/public/javascripts/common.js index 00347a8a..3f4d0d4a 100644 --- a/public/javascripts/common.js +++ b/public/javascripts/common.js @@ -171,7 +171,6 @@ jQuery(document).ready(function($) { }); /* Appended 2009-07-07 */ -var tb_pathToImage="../images/loadingAnimation.gif"; var animRate = 100; // returns viewport height