Skip to content
Snippets Groups Projects
Commit 78633f1e authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

do not create/delete tags via tagset unless explicit save, CRM-14052

----------------------------------------
* CRM-14052: Tagset fixes
  http://issues.civicrm.org/jira/browse/CRM-14052
parent b3caa3a7
Branches
Tags
No related merge requests found
......@@ -834,7 +834,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
if (!in_array($this->_activityTypeName, $specialActivities)) {
// build tag widget
$parentNames = CRM_Core_BAO_Tag::getTagSet('civicrm_activity');
CRM_Core_Form_Tag::buildQuickForm($this, $parentNames, 'civicrm_activity', $this->_activityId, FALSE, TRUE);
CRM_Core_Form_Tag::buildQuickForm($this, $parentNames, 'civicrm_activity', $this->_activityId, TRUE, TRUE);
}
// if we're viewing, we're assigning different buttons than for adding/editing
......
......@@ -275,7 +275,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
// build tag widget
$parentNames = CRM_Core_BAO_Tag::getTagSet('civicrm_case');
CRM_Core_Form_Tag::buildQuickForm($this, $parentNames, 'civicrm_case', NULL, FALSE, TRUE);
CRM_Core_Form_Tag::buildQuickForm($this, $parentNames, 'civicrm_case', NULL, TRUE, TRUE);
$this->addButtons(array(
array(
......
......@@ -393,7 +393,7 @@
}
// build tagset widget
CRM_Core_Form_Tag::buildQuickForm($form, $parentNames, 'civicrm_file', NULL, FALSE, TRUE, FALSE);
CRM_Core_Form_Tag::buildQuickForm($form, $parentNames, 'civicrm_file', NULL, TRUE, TRUE, FALSE);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment