INNER CODE UNIT · JavaScript

end

sentora/sentora-core · etc/apps/webmail/program/js/app.js:6087

      end = input.value.substring(p + from.length, input.value.length);

    input.value = pre + to + end;

    // set caret to insert pos
    this.set_caret_pos(input, cpos + to.length - from.length);

    // run onchange action on the element
    $(input).trigger('change', [true, trigger]);
  };

  this.ksearch_click = function(node)
  {
    if (this.ksearch_input)
      this.ksearch_input.focus();

    this.insert_recipient(node._rcm_id);
    this.ksearch_hide();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…