Sindbad~EG File Manager
{"version":3,"file":"navblock.min.js","sources":["../src/navblock.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 * Load the navigation tree javascript.\n *\n * @module block_navigation/navblock\n * @copyright 2015 John Okely <john@moodle.com>\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\ndefine(['jquery', 'core/tree'], function($, Tree) {\n return {\n init: function(instanceid) {\n var navTree = new Tree(\".block_navigation .block_tree\");\n navTree.finishExpandingGroup = function(item) {\n Tree.prototype.finishExpandingGroup.call(this, item);\n Y.use('moodle-core-event', function() {\n Y.Global.fire(M.core.globalEvents.BLOCK_CONTENT_UPDATED, {\n instanceid: instanceid\n });\n });\n };\n navTree.collapseGroup = function(item) {\n Tree.prototype.collapseGroup.call(this, item);\n Y.use('moodle-core-event', function() {\n Y.Global.fire(M.core.globalEvents.BLOCK_CONTENT_UPDATED, {\n instanceid: instanceid\n });\n });\n };\n }\n };\n});\n"],"names":["define","$","Tree","init","instanceid","navTree","finishExpandingGroup","item","prototype","call","this","Y","use","Global","fire","M","core","globalEvents","BLOCK_CONTENT_UPDATED","collapseGroup"],"mappings":";;;;;;;AAsBAA,mCAAO,CAAC,SAAU,cAAc,SAASC,EAAGC,YACjC,CACHC,KAAM,SAASC,gBACPC,QAAU,IAAIH,KAAK,iCACvBG,QAAQC,qBAAuB,SAASC,MACpCL,KAAKM,UAAUF,qBAAqBG,KAAKC,KAAMH,MAC/CI,EAAEC,IAAI,qBAAqB,WACvBD,EAAEE,OAAOC,KAAKC,EAAEC,KAAKC,aAAaC,sBAAuB,CACrDd,WAAYA,iBAIxBC,QAAQc,cAAgB,SAASZ,MAC7BL,KAAKM,UAAUW,cAAcV,KAAKC,KAAMH,MACxCI,EAAEC,IAAI,qBAAqB,WACvBD,EAAEE,OAAOC,KAAKC,EAAEC,KAAKC,aAAaC,sBAAuB,CACrDd,WAAYA"}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists