X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/lti/amd/build
home
/
cbholdings
/
pasukulu
/
mod
/
lti
/
amd
/
build
/
📁
..
📄
cartridge_registration_form.min.js
(2.55 KB)
📄
cartridge_registration_form.min.js.map
(8.65 KB)
📄
contentitem.min.js
(4.73 KB)
📄
contentitem.min.js.map
(15.01 KB)
📄
contentitem_return.min.js
(562 B)
📄
contentitem_return.min.js.map
(1.97 KB)
📄
events.min.js
(820 B)
📄
events.min.js.map
(2.04 KB)
📄
external_registration.min.js
(7.08 KB)
📄
external_registration.min.js.map
(27.67 KB)
📄
external_registration_return.min.js
(652 B)
📄
external_registration_return.min.js.map
(2.51 KB)
📄
form-field.min.js
(1.26 KB)
📄
form-field.min.js.map
(5.39 KB)
📄
keys.min.js
(375 B)
📄
keys.min.js.map
(1.26 KB)
📄
tool_card_controller.min.js
(8.49 KB)
📄
tool_card_controller.min.js.map
(29.93 KB)
📄
tool_configure_controller.min.js
(7.06 KB)
📄
tool_configure_controller.min.js.map
(21.92 KB)
📄
tool_proxy.min.js
(856 B)
📄
tool_proxy.min.js.map
(3.58 KB)
📄
tool_proxy_card_controller.min.js
(3.13 KB)
📄
tool_proxy_card_controller.min.js.map
(12.02 KB)
📄
tool_type.min.js
(1.23 KB)
📄
tool_type.min.js.map
(5.88 KB)
📄
tool_types_and_proxies.min.js
(923 B)
📄
tool_types_and_proxies.min.js.map
(2.43 KB)
Editing: form-field.min.js
/** * A module that enables the setting of form field values on the client side. * * @module mod_lti/form-field * @copyright 2016 Jun Pataleta <jun@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @since 3.2 */ define("mod_lti/form-field",["jquery"],(function($){var FormField=function(name,type,resetIfUndefined,defaultValue){this.name=name,this.id="id_"+this.name,this.selector="#"+this.id,this.type=type,this.resetIfUndefined=resetIfUndefined,this.defaultValue=defaultValue};return FormField.TYPES={TEXT:1,SELECT:2,CHECKBOX:3,EDITOR:4},FormField.prototype.setFieldValue=function(value){if(null===value){if(!this.resetIfUndefined)return;value=this.defaultValue}switch(this.type){case FormField.TYPES.CHECKBOX:value?$(this.selector).prop("checked",!0):$(this.selector).prop("checked",!1);break;case FormField.TYPES.EDITOR:if(void 0!==value.text){var attoEditor=$(this.selector+"editable");attoEditor.length?attoEditor.html(value.text):"undefined"!=typeof tinyMCE&&("3"==tinyMCE.majorVersion?tinyMCE.execInstanceCommand(this.id,"mceInsertContent",!1,value.text):tinyMCE.get(this.id).setContent(value.text)),$(this.selector).val(value.text)}break;default:$(this.selector).val(value)}},FormField})); //# sourceMappingURL=form-field.min.js.map
Upload File
Create Folder