Questtype ?Textinput?: add support for field sizes (Issue #252) and general improvements

This commit is contained in:
coderkun 2014-05-19 11:36:36 +02:00
commit 8d903135a5
3476 changed files with 599099 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');
});
});