Questtype ?Textinput?: add support for field sizes (Issue #252) and general improvements
This commit is contained in:
commit
8d903135a5
3476 changed files with 599099 additions and 0 deletions
25
www/analytics/plugins/Morpheus/javascripts/morpheus.js
Normal file
25
www/analytics/plugins/Morpheus/javascripts/morpheus.js
Normal 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');
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue