From 316692d1c34dfeeb61f2d8746c111595b4a58daf Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 19 Nov 2013 12:54:39 +0800 Subject: [PATCH] small ie fix for gallery forntend after routes changed --- .../gallery/app/assets/javascripts/galleryAPI_frontend.js.erb | 2 +- .../app/views/panel/gallery/front_end/albums/theater.html.erb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI_frontend.js.erb b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI_frontend.js.erb index 0a0cac306..8a5191cd8 100644 --- a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI_frontend.js.erb +++ b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI_frontend.js.erb @@ -8,7 +8,7 @@ var galleryAPI = function(){ g = this; this.urlVars = rcom.getUrlVars(); this.albumArea = $("#orbit_gallery"); - this.loadArea = null; + this.loadArea = "theater"; this.tagList = $(".taglist ul"); this.loading = $("#loading"); // this.authenticated = false; diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/theater.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/theater.html.erb index d89d1914a..d4393fc3e 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/theater.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/front_end/albums/theater.html.erb @@ -57,7 +57,6 @@ galleryAPI.prototype.locale = "<%= I18n.locale %>"; var gallery = new galleryAPI(); gallery.initialize(); - gallery.loadArea = "theater"; gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");