fabiommendes/django-bricks

View on GitHub
src/bricks/app/static/js/bricks/dialog.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _getDialog has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function _getDialog(args, action) {
        args = args || {};
        var dialog = args.dialog || byId(args.dialogId || 'dialog');
        var content = args.dialogContent || byId(args.dialogContentId || 'dialog-content');

Severity: Minor
Found in src/bricks/app/static/js/bricks/dialog.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status