small ie fix for gallery forntend after routes changed
This commit is contained in:
parent
6d2043ddaf
commit
316692d1c3
|
@ -8,7 +8,7 @@ var galleryAPI = function(){
|
||||||
g = this;
|
g = this;
|
||||||
this.urlVars = rcom.getUrlVars();
|
this.urlVars = rcom.getUrlVars();
|
||||||
this.albumArea = $("#orbit_gallery");
|
this.albumArea = $("#orbit_gallery");
|
||||||
this.loadArea = null;
|
this.loadArea = "theater";
|
||||||
this.tagList = $(".taglist ul");
|
this.tagList = $(".taglist ul");
|
||||||
this.loading = $("#loading");
|
this.loading = $("#loading");
|
||||||
// this.authenticated = false;
|
// this.authenticated = false;
|
||||||
|
|
|
@ -57,7 +57,6 @@
|
||||||
galleryAPI.prototype.locale = "<%= I18n.locale %>";
|
galleryAPI.prototype.locale = "<%= I18n.locale %>";
|
||||||
var gallery = new galleryAPI();
|
var gallery = new galleryAPI();
|
||||||
gallery.initialize();
|
gallery.initialize();
|
||||||
gallery.loadArea = "theater";
|
|
||||||
gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");
|
gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue