Remove redundant jstree script from search form
authorColeman Watts <coleman@civicrm.org>
Sun, 25 Nov 2018 19:06:04 +0000 (14:06 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 25 Nov 2018 19:06:04 +0000 (14:06 -0500)
CRM/Contact/Form/Search.php

index fb48489e650ce9d366ee1ebedb2e4d1ae90ded43..7a1003151b17493d85bf5172db89d7ff78a5de9d 100644 (file)
@@ -386,10 +386,6 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search {
    */
   public function buildQuickForm() {
     parent::buildQuickForm();
-    CRM_Core_Resources::singleton()
-      // jsTree is needed for tags popup
-      ->addScriptFile('civicrm', 'bower_components/jstree/dist/jquery.jstree.min.js', 0, 'html-header', FALSE)
-      ->addStyleFile('civicrm', 'bower_components/jstree/dist/themes/default/style.min.css', 0, 'html-header');
 
     // some tasks.. what do we want to do with the selected contacts ?
     $this->_taskList = $this->buildTaskList();