restructure application classes

This commit is contained in:
coderkun 2014-05-14 18:30:25 +02:00
commit a6d9bf653a
3471 changed files with 597952 additions and 0 deletions

View file

@ -0,0 +1,25 @@
$(document).ready(function () {
// do not apply on the Login page
if($('#loginPage').length) {
return;
}
function initICheck()
{
$('input').iCheck({
checkboxClass: 'form-checkbox',
radioClass: 'form-radio',
checkedClass: 'checked',
hoverClass: 'form-hover'
});
}
initICheck();
$(document).bind('ScheduledReport.edit', initICheck);
$('body').on('ifClicked', 'input', function () {
$(this).trigger('click');
}).on('ifChanged', 'input', function () {
$(this).trigger('change');
});
});