From 6040e630341d9e817e330aa9f54d80db2c2f5a3f 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 0a0cac30..8a5191cd 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 d89d1914..d4393fc3 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] %>");