diff --git a/airtime_mvc/application/forms/Preferences.php b/airtime_mvc/application/forms/Preferences.php index 0fa9f0b58..b4783c591 100644 --- a/airtime_mvc/application/forms/Preferences.php +++ b/airtime_mvc/application/forms/Preferences.php @@ -11,7 +11,7 @@ class Application_Form_Preferences extends Zend_Form $this->setDecorators(array( array('ViewScript', array('viewScript' => 'form/preferences.phtml')) )); - + $general_pref = new Application_Form_GeneralPreferences(); $this->addSubForm($general_pref, 'preferences_general'); @@ -24,7 +24,7 @@ class Application_Form_Preferences extends Zend_Form $this->addElement('submit', 'submit', array( 'class' => 'ui-button ui-state-default right-floated', 'ignore' => true, - 'label' => 'Submit', + 'label' => 'Save', 'decorators' => array( 'ViewHelper' ) diff --git a/airtime_mvc/application/views/scripts/preference/index.phtml b/airtime_mvc/application/views/scripts/preference/index.phtml index b5cf1fd4b..17aed0dcd 100644 --- a/airtime_mvc/application/views/scripts/preference/index.phtml +++ b/airtime_mvc/application/views/scripts/preference/index.phtml @@ -1,7 +1,15 @@
diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index dffc71432..46b29b29c 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -323,7 +323,8 @@ function createDataTable(data) { "oLanguage": { "sSearch": "" }, - "iDisplayLength": getNumEntriesPreference(data) + "iDisplayLength": getNumEntriesPreference(data), + "bStateSave": true }); dTable.fnSetFilteringDelay(350);