diff options
Diffstat (limited to 'plugins/Morpheus/javascripts/morpheus.js')
-rw-r--r-- | plugins/Morpheus/javascripts/morpheus.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/plugins/Morpheus/javascripts/morpheus.js b/plugins/Morpheus/javascripts/morpheus.js deleted file mode 100644 index 505a64e32d..0000000000 --- a/plugins/Morpheus/javascripts/morpheus.js +++ /dev/null @@ -1,33 +0,0 @@ -$(document).ready(function () { - // do not apply on the Login page - if($('#loginPage').length) { - return; - } - - function initICheck() - { - $('input').filter(function () { - return !$(this).parent().is('.form-radio') - && !$(this).hasClass('no-icheck'); - }).iCheck({ - checkboxClass: 'form-checkbox', - radioClass: 'form-radio', - checkedClass: 'checked', - hoverClass: 'form-hover' - }); - } - - initICheck(); - $(document).bind('ScheduledReport.edit', initICheck); - $(document).bind('Goals.edit', initICheck); - $(broadcast).bind('locationChangeSuccess', initICheck); - $(broadcast).bind('updateICheck', initICheck); - - $('body').on('ifClicked', 'input', function () { - $(this).trigger('click'); - }).on('ifChanged', 'input', function () { - if(this.type != 'radio' || this.checked) { - $(this).trigger('change'); - } - }); -}); |