From 07cc0d00f670fd94d7aa0e23953d177036ded4e8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 18 Jul 2015 19:27:20 +0200 Subject: Fix checkboxes.js - Incorrect path to .js file - Autoloading and the data-api don't work so load and run it explicitly Signed-off-by: Florian Pritz --- public_html/data/js/application.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'public_html/data/js/application.js') diff --git a/public_html/data/js/application.js b/public_html/data/js/application.js index 310362dd9..374ae56fe 100644 --- a/public_html/data/js/application.js +++ b/public_html/data/js/application.js @@ -11,7 +11,8 @@ define( 'tablesorter', 'jquery', 'jquery.lazyload', - 'bootstrap' + 'bootstrap', + 'jquery.checkboxes' ], function ( require, @@ -49,6 +50,11 @@ define( this.setupToggleSelectAllEvent(); this.setupLineWrapToggle(); this.setupLazyLoadingImages(); + this.setupTableRangeSelect(); + }, + + setupTableRangeSelect: function () { + $('#upload_history').checkboxes('range', true); }, setupLineHighlight: function () { -- cgit v1.2.3-24-g4f1b