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] %>");