piotrpolak/pepiscms

View on GitHub
pepiscms/js/pageeditor.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function PageEditorUI has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function PageEditorUI(translation_map) {

    var label_unsaved_changes = "All unsaved changes will be lost. Proceed?";

    this.init = function () {
Severity: Minor
Found in pepiscms/js/pageeditor.js - About 1 hr to fix

    Function init has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        this.init = function () {
            if (translation_map.label_unsaved_changes)
                label_unsaved_changes = translation_map.label_unsaved_changes;
    
    
    
    Severity: Minor
    Found in pepiscms/js/pageeditor.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status