X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FTag%2FForm%2FTag.php;h=2e65e28a8fdb59fa6068bca91c935056fef16e4e;hb=d44c681d9105af668449d16d9f53832d7982f47e;hp=5492a05e51cf9468c2527913d543d61af0300748;hpb=00ca8648aca9637f2678082ce09f98772533a8cc;p=civicrm-core.git diff --git a/CRM/Tag/Form/Tag.php b/CRM/Tag/Form/Tag.php index 5492a05e51..2e65e28a8f 100644 --- a/CRM/Tag/Form/Tag.php +++ b/CRM/Tag/Form/Tag.php @@ -66,7 +66,7 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form { } /** - * Function to build the form + * Build the form object * * @return void * @access public @@ -110,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 @@ -148,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 }