Restream/redmine_issue_template

View on GitHub

Showing 1 of 1 total issue

Function insertAtCursor has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function insertAtCursor(areaId, text) {
    var txtarea = document.getElementById(areaId);
    var scrollPos = txtarea.scrollTop;
    var strPos = 0;
    var br = ((txtarea.selectionStart || txtarea.selectionStart == '0') ?
Severity: Minor
Found in assets/javascripts/issue_templates.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language