projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4317 from atif-shaikh/CRM-15379
[civicrm-core.git]
/
CRM
/
Admin
/
Form.php
diff --git
a/CRM/Admin/Form.php
b/CRM/Admin/Form.php
index e74a298b8fe838928ed46c33703a458f49b4ed64..0f6a1d407b0faa4089aff54964b7165d683eb518 100644
(file)
--- a/
CRM/Admin/Form.php
+++ b/
CRM/Admin/Form.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-75,7
+75,7
@@
class CRM_Admin_Form extends CRM_Core_Form {
}
/**
}
/**
- * This function sets the default values for the form.
MobileProvider
that in edit/view mode
+ * This function sets the default values for the form.
Note
that in edit/view mode
* the default values are retrieved from the database
*
* @access public
* the default values are retrieved from the database
*
* @access public
@@
-112,7
+112,7
@@
class CRM_Admin_Form extends CRM_Core_Form {
* @access public
*/
public function buildQuickForm() {
* @access public
*/
public function buildQuickForm() {
- if ($this->_action & CRM_Core_Action::VIEW) {
+ if ($this->_action & CRM_Core_Action::VIEW
|| $this->_action & CRM_Core_Action::PREVIEW
) {
$this->addButtons(array(
array(
'type' => 'cancel',
$this->addButtons(array(
array(
'type' => 'cancel',