X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FTag%2FForm%2FTag.php;h=2e65e28a8fdb59fa6068bca91c935056fef16e4e;hb=d44c681d9105af668449d16d9f53832d7982f47e;hp=ecf53180fa0fdda3002b5dd2ec07a695ae0bfb76;hpb=20de365359fdf2770bf1e19cb58b9898d568e7e9;p=civicrm-core.git diff --git a/CRM/Tag/Form/Tag.php b/CRM/Tag/Form/Tag.php index ecf53180fa..2e65e28a8f 100644 --- a/CRM/Tag/Form/Tag.php +++ b/CRM/Tag/Form/Tag.php @@ -1,9 +1,9 @@ $varValue) { if (in_array($tagID, $entityTag)) { $tagAttribute = array( - 'onclick' => "return changeRowColor(\"rowidtag_$tagID\")", 'checked' => 'checked', 'id' => "tag_{$tagID}", ); } else { $tagAttribute = array( - 'onclick' => "return changeRowColor(\"rowidtag_$tagID\")", 'id' => "tag_{$tagID}", ); } @@ -112,28 +110,9 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form { //build tag widget $parentNames = CRM_Core_BAO_Tag::getTagSet('civicrm_contact'); CRM_Core_Form_Tag::buildQuickForm($this, $parentNames, $this->_entityTable, $this->_entityID); - - if ($this->_action & CRM_Core_Action::BROWSE) { - $this->freeze(); - } - else { - $this->addButtons(array( - array( - 'type' => 'next', - 'name' => ts('Update Tags'), - 'isDefault' => TRUE, - ), - array( - 'type' => 'cancel', - 'name' => ts('Cancel'), - ), - ) - ); - } } /** - * * @access public * * @return void @@ -150,6 +129,5 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form { CRM_Core_Session::setStatus(ts('Your update(s) have been saved.'), ts('Saved'), 'success'); } - //end of function }