Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
define("enrol_lti/tool_endpoints",["exports","core/copy_to_clipboard"],(function(_exports,_copy_to_clipboard){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.init=void 0;
2
/**
3
   * Module supporting the dynamic and manual registration URLs in the tool registration admin setting.
4
   *
5
   * @module     enrol_lti/tool_endpoints
6
   * @copyright  2021 Jake Dallimore <jrhdallimore@gmail.com>
7
   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
8
   */
9
const SELECTORS_URL_VALUE='[id^="lti_tool_endpoint_url_"]',focusURLHandler=event=>{const triggerElement=event.target.closest(SELECTORS_URL_VALUE);null!==triggerElement&&(event.preventDefault(),triggerElement.select())};_exports.init=()=>{document.addEventListener("focusin",focusURLHandler)}}));
10
 
11
//# sourceMappingURL=tool_endpoints.min.js.map