pepiscms/js/pageeditor.js
Function PageEditorUI
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function PageEditorUI(translation_map) {
var label_unsaved_changes = "All unsaved changes will be lost. Proceed?";
this.init = function () {
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.init = function () {
if (translation_map.label_unsaved_changes)
label_unsaved_changes = translation_map.label_unsaved_changes;