X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/lp/amd/build
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
lp
/
amd
/
build
/
📁
..
📄
actionselector.min.js
(2.78 KB)
📄
actionselector.min.js.map
(8.46 KB)
📄
competencies.min.js
(6.92 KB)
📄
competencies.min.js.map
(19.19 KB)
📄
competency_outcomes.min.js
(1.08 KB)
📄
competency_outcomes.min.js.map
(3.8 KB)
📄
competency_plan_navigation.min.js
(1.26 KB)
📄
competency_plan_navigation.min.js.map
(3.87 KB)
📄
competency_rule.min.js
(1.25 KB)
📄
competency_rule.min.js.map
(5.89 KB)
📄
competency_rule_all.min.js
(599 B)
📄
competency_rule_all.min.js.map
(2.13 KB)
📄
competency_rule_points.min.js
(2.48 KB)
📄
competency_rule_points.min.js.map
(8.29 KB)
📄
competencyactions.min.js
(15.39 KB)
📄
competencyactions.min.js.map
(44.26 KB)
📄
competencydialogue.min.js
(2.32 KB)
📄
competencydialogue.min.js.map
(7.6 KB)
📄
competencypicker.min.js
(6.73 KB)
📄
competencypicker.min.js.map
(21.75 KB)
📄
competencypicker_user_plans.min.js
(3.07 KB)
📄
competencypicker_user_plans.min.js.map
(10.26 KB)
📄
competencyruleconfig.min.js
(6.04 KB)
📄
competencyruleconfig.min.js.map
(20.69 KB)
📄
competencytree.min.js
(3.19 KB)
📄
competencytree.min.js.map
(12.6 KB)
📄
course_competency_settings.min.js
(2.68 KB)
📄
course_competency_settings.min.js.map
(7.48 KB)
📄
dialogue.min.js
(1.64 KB)
📄
dialogue.min.js.map
(5.65 KB)
📄
dragdrop-reorder.min.js
(1.2 KB)
📄
dragdrop-reorder.min.js.map
(5.09 KB)
📄
event_base.min.js
(555 B)
📄
event_base.min.js.map
(2.21 KB)
📄
evidence_delete.min.js
(1.29 KB)
📄
evidence_delete.min.js.map
(4.74 KB)
📄
form-user-selector.min.js
(1.3 KB)
📄
form-user-selector.min.js.map
(4.43 KB)
📄
form_competency_element.min.js
(2.35 KB)
📄
form_competency_element.min.js.map
(6.7 KB)
📄
frameworkactions.min.js
(2.4 KB)
📄
frameworkactions.min.js.map
(8.01 KB)
📄
frameworks_datasource.min.js
(1.13 KB)
📄
frameworks_datasource.min.js.map
(4.32 KB)
📄
grade_dialogue.min.js
(1.91 KB)
📄
grade_dialogue.min.js.map
(6.12 KB)
📄
grade_user_competency_inline.min.js
(2.6 KB)
📄
grade_user_competency_inline.min.js.map
(7.98 KB)
📄
menubar.min.js
(9.58 KB)
📄
menubar.min.js.map
(37.93 KB)
📄
module_navigation.min.js
(838 B)
📄
module_navigation.min.js.map
(2.95 KB)
📄
parentcompetency_form.min.js
(2.43 KB)
📄
parentcompetency_form.min.js.map
(8.19 KB)
📄
planactions.min.js
(9.4 KB)
📄
planactions.min.js.map
(27.69 KB)
📄
scaleconfig.min.js
(3.49 KB)
📄
scaleconfig.min.js.map
(11.36 KB)
📄
scalevalues.min.js
(670 B)
📄
scalevalues.min.js.map
(2.51 KB)
📄
templateactions.min.js
(2.79 KB)
📄
templateactions.min.js.map
(9.64 KB)
📄
tree.min.js
(8.11 KB)
📄
tree.min.js.map
(27.21 KB)
📄
user_competency_course_navigation.min.js
(1.48 KB)
📄
user_competency_course_navigation.min.js.map
(4.56 KB)
📄
user_competency_info.min.js
(1.96 KB)
📄
user_competency_info.min.js.map
(6.1 KB)
📄
user_competency_plan_popup.min.js
(2.48 KB)
📄
user_competency_plan_popup.min.js.map
(7.11 KB)
📄
user_competency_workflow.min.js
(4.61 KB)
📄
user_competency_workflow.min.js.map
(12.68 KB)
📄
user_evidence_actions.min.js
(6.67 KB)
📄
user_evidence_actions.min.js.map
(19.24 KB)
Editing: course_competency_settings.min.js.map
{"version":3,"file":"course_competency_settings.min.js","sources":["../src/course_competency_settings.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * Change the course competency settings in a popup.\n *\n * @module tool_lp/course_competency_settings\n * @copyright 2015 Damyon Wiese <damyon@moodle.com>\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\ndefine(['jquery',\n 'core/notification',\n 'tool_lp/dialogue',\n 'core/str',\n 'core/ajax',\n 'core/templates',\n 'core/pending'\n ],\n function($, notification, Dialogue, str, ajax, templates, Pending) {\n\n /**\n * Constructor\n *\n * @param {String} selector - selector for the links to open the dialogue.\n */\n var settingsMod = function(selector) {\n $(selector).on('click', this.configureSettings.bind(this));\n };\n\n /** @property {Dialogue} Reference to the dialogue that we opened. */\n settingsMod.prototype._dialogue = null;\n\n /**\n * Open the configure settings dialogue.\n *\n * @param {Event} e\n * @method configureSettings\n */\n settingsMod.prototype.configureSettings = function(e) {\n var pendingPromise = new Pending();\n var courseid = $(e.target).closest('a').data('courseid');\n var currentValue = $(e.target).closest('a').data('pushratingstouserplans');\n var context = {\n courseid: courseid,\n settings: {pushratingstouserplans: currentValue}\n };\n e.preventDefault();\n\n $.when(\n str.get_string('configurecoursecompetencysettings', 'tool_lp'),\n templates.render('tool_lp/course_competency_settings', context),\n )\n .then(function(title, templateResult) {\n this._dialogue = new Dialogue(\n title,\n templateResult[0],\n this.addListeners.bind(this)\n );\n\n return this._dialogue;\n }.bind(this))\n .then(pendingPromise.resolve)\n .catch(notification.exception);\n };\n\n /**\n * Add the save listener to the form.\n *\n * @method addSaveListener\n */\n settingsMod.prototype.addListeners = function() {\n var save = this._find('[data-action=\"save\"]');\n save.on('click', this.saveSettings.bind(this));\n var cancel = this._find('[data-action=\"cancel\"]');\n cancel.on('click', this.cancelChanges.bind(this));\n };\n\n /**\n * Cancel the changes.\n *\n * @param {Event} e\n * @method cancelChanges\n */\n settingsMod.prototype.cancelChanges = function(e) {\n e.preventDefault();\n this._dialogue.close();\n };\n\n /**\n * Cancel the changes.\n *\n * @param {String} selector\n * @return {JQuery}\n */\n settingsMod.prototype._find = function(selector) {\n return $('[data-region=\"coursecompetencysettings\"]').find(selector);\n };\n\n /**\n * Save the settings.\n *\n * @param {Event} e\n * @method saveSettings\n */\n settingsMod.prototype.saveSettings = function(e) {\n var pendingPromise = new Pending();\n e.preventDefault();\n\n var newValue = this._find('input[name=\"pushratingstouserplans\"]:checked').val();\n var courseId = this._find('input[name=\"courseid\"]').val();\n var settings = {pushratingstouserplans: newValue};\n\n ajax.call([\n {methodname: 'core_competency_update_course_competency_settings',\n args: {courseid: courseId, settings: settings}}\n ])[0]\n .then(function() {\n return this.refreshCourseCompetenciesPage();\n }.bind(this))\n .then(pendingPromise.resolve)\n .catch(notification.exception);\n\n };\n\n /**\n * Refresh the course competencies page.\n *\n * @method saveSettings\n */\n settingsMod.prototype.refreshCourseCompetenciesPage = function() {\n var courseId = this._find('input[name=\"courseid\"]').val();\n var pendingPromise = new Pending();\n\n ajax.call([\n {methodname: 'tool_lp_data_for_course_competencies_page',\n args: {courseid: courseId, moduleid: 0}}\n ])[0]\n .then(function(context) {\n return templates.render('tool_lp/course_competencies_page', context);\n })\n .then(function(html, js) {\n templates.replaceNode($('[data-region=\"coursecompetenciespage\"]'), html, js);\n this._dialogue.close();\n\n return;\n }.bind(this))\n .then(pendingPromise.resolve)\n .catch(notification.exception);\n };\n\n return /** @alias module:tool_lp/configurecoursecompetencysettings */ settingsMod;\n});\n"],"names":["define","$","notification","Dialogue","str","ajax","templates","Pending","settingsMod","selector","on","this","configureSettings","bind","prototype","_dialogue","e","pendingPromise","context","courseid","target","closest","data","settings","pushratingstouserplans","preventDefault","when","get_string","render","then","title","templateResult","addListeners","resolve","catch","exception","_find","saveSettings","cancelChanges","close","find","newValue","val","courseId","call","methodname","args","ref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