dist/tgi-interface-bootstrap.js
function renderHelpText(text) {
      if (text) {
        if (!helpTextDiv) {
          helpTextDiv = document.createElement("div");
          helpTextDiv.className = 'col-sm-9 col-sm-offset-3 has-error';
          formGroup.appendChild(helpTextDiv);
        }
        helpTextDiv.innerHTML = '<span style="display: block;" class="help-block">' + text + '</span>';
        $(formGroup).addClass('has-error');
        if (inputGroupButton)
          $(inputGroupButton).addClass('btn-danger');
      } else {
        setTimeout(function () {
          if (helpTextDiv) {
            $(helpTextDiv).remove();
            helpTextDiv = null;
          }
        }, 250);
        $(formGroup).removeClass('has-error');
        if (inputGroupButton)
          $(inputGroupButton).removeClass('btn-danger');
      }
    }
function renderHelpText(text) {
      if (text) {
        if (!helpTextDiv) {
          helpTextDiv = document.createElement("div");
          helpTextDiv.className = 'col-sm-9 col-sm-offset-3 has-error';
          formGroup.appendChild(helpTextDiv);
        }
        helpTextDiv.innerHTML = '<span style="display: block;" class="help-block">' + text + '</span>';
        $(formGroup).addClass('has-error');
        if (inputGroupButton)
          $(inputGroupButton).addClass('btn-danger');
      } else {
        setTimeout(function () {
          if (helpTextDiv) {
            $(helpTextDiv).remove();
            helpTextDiv = null;
          }
        }, 250);
        $(formGroup).removeClass('has-error');
        if (inputGroupButton)
          $(inputGroupButton).removeClass('btn-danger');
      }
    }
function renderHelpText ( text ) { if ( text ) { if ( ! helpTextDiv ) { helpTextDiv = document . createElement ( "div" ) ; helpTextDiv . className = 'col-sm-9 col-sm-offset-3 has-error' ; formGroup . appendChild ( helpTextDiv ) ; } helpTextDiv . innerHTML = '<span style="display: block;" class="help-block">' + text + '</span>' ; $ ( formGroup ) . addClass ( 'has-error' ) ; if ( inputGroupButton ) $ ( inputGroupButton ) . addClass ( 'btn-danger' ) ; } else { setTimeout ( function ( ) { if ( helpTextDiv ) { $ ( helpTextDiv ) . remove ( ) ; helpTextDiv = null ; } } , 250 ) ; $ ( formGroup ) . removeClass ( 'has-error' ) ; if ( inputGroupButton ) $ ( inputGroupButton ) . removeClass ( 'btn-danger' ) ; } }
so we can avoid leakage on deleting panel 
For attribute error display
so we can avoid leakage on deleting panel For attribute error display