summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/details/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-07 10:44:13 -0400
committerJules Laplace <jules@okfoc.us>2015-09-07 10:44:13 -0400
commitaa9718404cba9cf1c872b7cedded31d68d3beb54 (patch)
tree0da2739d510f164ad34632a94f375a102916ad63 /public/assets/js/lib/views/details/index.js
parent3bfcb525760dff0613c7dbbf26749a2191ccc6ea (diff)
gallery
Diffstat (limited to 'public/assets/js/lib/views/details/index.js')
-rw-r--r--public/assets/js/lib/views/details/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/assets/js/lib/views/details/index.js b/public/assets/js/lib/views/details/index.js
index e2adb55..d7fb26f 100644
--- a/public/assets/js/lib/views/details/index.js
+++ b/public/assets/js/lib/views/details/index.js
@@ -8,6 +8,7 @@ var DetailsView = View.extend({
initialize: function(opt){
this.comments = new CommentsView ({ parent: this })
this.files = new FilesView ({ parent: this })
+ this.gallery = new GalleryView ({ parent: this })
},
load: function(id){
@@ -19,6 +20,7 @@ var DetailsView = View.extend({
$("h1").html(data.thread.title)
this.comments.load(data.comments)
this.files.load(data.files)
+ this.gallery.load(data.files)
},
success: function(){