madbob/GASdottoNG

View on GitHub
code/resources/assets/js/movements.js

Summary

Maintainability
A
1 hr
Test Coverage

Function movementTypeEditor has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static movementTypeEditor(container)
    {
        $('select[name=sender_type], select[name=target_type]', container).change(function(e) {
            var editor = $(this).closest('.movement-type-editor');
            var sender = editor.find('select[name=sender_type] option:selected').val();
Severity: Minor
Found in code/resources/assets/js/movements.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status