CC-2145 : Redesign & layout fixes for the Preferences screen

added javascript to page, got rid of separate index/update actions and moved everything to just index since update was not needed as a separate action.
This commit is contained in:
naomiaro 2011-04-03 18:04:14 -04:00
parent a28d8ce305
commit 9bd1aa14a9
5 changed files with 43 additions and 31 deletions

View file

@ -5,7 +5,8 @@ class Application_Form_Preferences extends Zend_Form
public function init()
{
$this->setAction('/Preference/update')->setMethod('post');
$this->setAction('/Preference');
$this->setMethod('post');
$this->setDecorators(array(
array('ViewScript', array('viewScript' => 'form/preferences.phtml'))