If you like to get rid of every javascript do this in the source view file:
root/components/com_jmap/views/sitemap/view.html.php
Comment out the line:
| Code: |
//$document->addScript ( JURI::root(true) . '/components/com_jmap/js/jquery.treeview.js' );
|
and the code block:
| Code: |
/*$document->addScriptDeclaration("
var jmapExpandAllTree = " . $this->getModel ()->getState ( 'cparams' )->get('show_expanded', 0) . ";
var jmapExpandLocation = '" . $this->getModel ()->getState ( 'cparams' )->get('expand_location', 'location') . "';
var jmapAnimated = " . $this->getModel ()->getState ( 'cparams' )->get('animated', 1) . ";
var jmapAnimateSpeed = " . $this->getModel ()->getState ( 'cparams' )->get('animate_speed', 200) . ";
var jmapDraggableSitemap = " . $draggableSitemap . ";
var jmapLinkableCatsSources = {};
var jmapMergeMenuTree = {};
var jmapMergeAliasMenu = " . $this->mergeAliasMenu . ";
var jmapExpandFirstLevel = " . $this->getModel ()->getState ( 'cparams' )->get('expand_first_level', 0) . ";
jQuery(function($){
$('ul.jmap_filetree li a:empty').parent('li').css('display', 'none');
});
");*/
|