Fixes to pull/push logic.
[redakcja.git] / platforma / static / js / views / gallery.js
index e0e3dc7..176b0ab 100644 (file)
@@ -182,7 +182,11 @@ var ImageGalleryView = View.extend({
           offset.y = vp_height-MARGIN;               
       
       $page.css({left: offset.x, top: offset.y});           
-  }, 
+  },
+
+  reload: function() {
+    this.model.load(true);
+  },
   
   renderImage: function(target) 
   {