diff options
author | ctrlaltca@gmail.com <> | 2011-06-08 15:36:00 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-06-08 15:36:00 +0000 |
commit | f7ac5047d795e83d63f70bec45422073627800bd (patch) | |
tree | 649c29f23493b82e40f196e3786925d6e7cc9ce5 /framework/Data/ActiveRecord/Scaffold/TScaffoldView.php | |
parent | f70d017d69274a49bfccd8003ddfc27e6132edd1 (diff) |
patch for #331
Diffstat (limited to 'framework/Data/ActiveRecord/Scaffold/TScaffoldView.php')
-rw-r--r-- | framework/Data/ActiveRecord/Scaffold/TScaffoldView.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php index 04420e9a..6201009f 100644 --- a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php +++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php @@ -4,7 +4,7 @@ *
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Data.ActiveRecord.Scaffold
@@ -113,8 +113,8 @@ class TScaffoldView extends TScaffoldBase {
$this->getListView()->setVisible(false);
$this->getEditView()->setVisible(true);
- $this->getAddButton()->setVisible(false);
- $this->getSearchControl()->setVisible(false);
+ $this->_panForNewButton->setVisible(false);
+ $this->_panForSearch->setVisible(false);
$this->getEditView()->getCancelButton()->setVisible(true);
$this->getEditView()->getClearButton()->setVisible(false);
}
@@ -126,8 +126,8 @@ class TScaffoldView extends TScaffoldBase {
$this->getListView()->setVisible(true);
$this->getEditView()->setVisible(false);
- $this->getAddButton()->setVisible(true);
- $this->getSearchControl()->setVisible(true);
+ $this->_panForNewButton->setVisible(true);
+ $this->_panForSearch->setVisible(true);
}
/**
@@ -140,4 +140,4 @@ class TScaffoldView extends TScaffoldBase $this->showEditView($sender, $param);
}
}
- +
|