codeRIT/hackathon_manager

View on GitHub
app/assets/javascripts/manage/lib/jquery.bulkRowedit.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function bulkRowEdit has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.fn.bulkRowEdit = function() {
  var applyAction = function() {
    $('[type=submit][data-bulk-row-edit]').prop('disabled', true);

    var ids = [];
Severity: Minor
Found in app/assets/javascripts/manage/lib/jquery.bulkRowedit.js - About 2 hrs to fix

    Function applyAction has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var applyAction = function() {
        $('[type=submit][data-bulk-row-edit]').prop('disabled', true);
    
        var ids = [];
        $('input[type=checkbox][data-bulk-row-edit]:checked').each(function() {
    Severity: Minor
    Found in app/assets/javascripts/manage/lib/jquery.bulkRowedit.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status