Sindbad~EG File Manager
{"version":3,"sources":["format_card_ordering.js"],"names":["define","$","action","init","Y","use","M","course","coursebase","registermodules","forEach","object","index","undefined","set_visibility_resource_ui","args"],"mappings":"AAEAA,OAAO,CAAC,SAAU,uBAAwB,SAASC,EAAGC,GA+BlD,MAAO,CACHC,KA3BJ,WAEIC,EAAEC,IAAI,2BAA4B,WAC9BC,EAAEC,OAAOC,WAAWC,gBAAgBC,QAAQ,SAASC,EAAQC,GAChBC,MAArCF,EAAOG,6BAGPH,EAAOG,2BAA6B,SAASC,KAY7CT,EAAEC,OAAOC,WAAWC,gBAAgBG,GAASD","sourcesContent":["/* eslint-disable no-unused-vars */\n/* eslint-disable no-tabs */\ndefine(['jquery', 'core_course/actions'], function($, action) {\n /**\n * Init method\n *\n */\n function init() {\n // Register a function to be executed after D&D of an activity.\n Y.use('moodle-course-coursebase', function() {\n M.course.coursebase.registermodules.forEach(function(object, index) {\n if (object.set_visibility_resource_ui != undefined) {\n // Ignore camelcase eslint rule for the next line because it is an expected name of the callback.\n // eslint-disable-next-line camelcase\n object.set_visibility_resource_ui = function(args) {\n\n // We don't need to render activity again.\n return;\n // Following code is commented to skip rendering activity card.\n // var mainelement = $(args.element.getDOMNode());\n // var cmid = getModuleId(mainelement);\n // if (cmid) {\n // var sectionreturn = mainelement.find('.' + CSS.EDITINGMOVE).attr('data-sectionreturn');\n // refreshModule(mainelement, cmid, sectionreturn);\n // }\n };\n M.course.coursebase.registermodules[index] = object;\n }\n });\n // M.course.coursebase.register_module({\n // });\n });\n }\n return {\n init: init\n };\n});\n"],"file":"format_card_ordering.min.js"}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists