[TIC-Web] Apply generic resource pooling
[archive/20170607/tools/tic.git] / public / src / js / page / image.js
index 28aff91..b9031d6 100644 (file)
@@ -49,6 +49,12 @@ define([
                     _.forEach(arrImages, function (value, index) {
                         targetBody.append(new ImageItem(value, index).getTemplate());
                     });
+
+                    // bind events
+                    $('#tic-image-list a.btnbiglog').on('click', function (e) {
+                        e.preventDefault();
+                        Util.showBigLogView(this);
+                    });
                 }
             });
         }