CRM-17913 - unable to disable/modify some navigation items
authorSaurabh Batra <saurabh.batra96@gmail.com>
Mon, 1 Feb 2016 20:17:32 +0000 (01:47 +0530)
committerSaurabh Batra <saurabh.batra96@gmail.com>
Mon, 1 Feb 2016 20:17:32 +0000 (01:47 +0530)
https://issues.civicrm.org/jira/browse/CRM-17913

CRM/Admin/Form/Navigation.php

index 318e5bfa8424001d3e1a6923a823d04a6a2826e9..846ab4636029471a14d44aad115527eb402f4053 100644 (file)
@@ -85,7 +85,7 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form {
     $separator = array(0 => 'None', 1 => 'After Menu Element', 2 => 'Before Menu Element');
     $this->add('select', 'has_separator', ts('Separator?'), $separator);
 
-    $active = $this->add('checkbox', 'is_active', ts('Enabled?'));
+    $active = $this->add('advcheckbox', 'is_active', ts('Enabled?'));
 
     if (CRM_Utils_Array::value('name', $this->_defaults) == 'Home') {
       $active->freeze();