Skip to content

Commit

Permalink
refs matomo-org#4393 reports added to the scheduled reports do not ap…
Browse files Browse the repository at this point in the history
…pear as checked. still looking for a better solution
  • Loading branch information
tsteur committed Dec 18, 2013
1 parent 2d89406 commit 71bca64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
19 changes: 13 additions & 6 deletions plugins/Morpheus/javascripts/morpheus.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
$(document).ready(function () {
$('input').iCheck({
checkboxClass: 'form-checkbox',
radioClass: 'form-radio',
checkedClass: 'checked',
hoverClass: 'form-hover',
});

function initICheck()
{
$('input').iCheck({
checkboxClass: 'form-checkbox',
radioClass: 'form-radio',
checkedClass: 'checked',
hoverClass: 'form-hover',
});
}

initICheck();
$(document).bind('ScheduledRepot.edit', initICheck);

$('body').on('ifClicked', 'input', function () {
$(this).trigger('click');
Expand Down
1 change: 1 addition & 0 deletions plugins/ScheduledReports/javascripts/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ function initManagePdf() {
formSetEditReport(idReport);
$('.entityAddContainer').show();
$('#entityEditContainer').hide();
$(document).trigger('ScheduledRepot.edit', {});
});

// Switch Report Type
Expand Down

0 comments on commit 71bca64

Please sign in to comment.