Forum
Welcome, Guest
Please Login to access forum.
Re:dont load jquery.treeview.js (1 viewing) 
Go to bottom
TOPIC: Re:dont load jquery.treeview.js
#4091
John Dagelmore
Admin
Posts: 3873
User Online Now
Re:dont load jquery.treeview.js Karma: 84  
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'); }); ");*/
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author
    thread link
dont load jquery.treeview.js
Erick Boileau
    thread link
thread linkthread link Re:dont load jquery.treeview.js
John Dagelmore
    thread link
thread linkthread linkthread link Re:dont load jquery.treeview.js
Erick Boileau
    thread link
thread linkthread linkthread linkthread link Re:dont load jquery.treeview.js
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread link Re:dont load jquery.treeview.js
Erick Boileau
Go to top