osbridge/openconferenceware

View on GitHub
app/assets/javascripts/open_conference_ware/proposals.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function bind_proposal_schedule_controls has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function bind_proposal_schedule_controls() {
  $('.proposal_schedule_control_container select').change(function(event) {
    // Clears all time select elements if any are set to blank.
    target = $(this);

Severity: Minor
Found in app/assets/javascripts/open_conference_ware/proposals.js - About 1 hr to fix

    Function bind_proposal_generic_control has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function bind_proposal_generic_control(kind, elements) {
      if (! elements) {
        elements = $('.proposal_'+kind+'_control');
      }
      elements.removeAttr('disabled').change(function(event) {
    Severity: Minor
    Found in app/assets/javascripts/open_conference_ware/proposals.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status