Merge branch 'devel' of dev.sourcefabric.org:airtime into devel

This commit is contained in:
Martin Konecny 2011-11-08 12:18:52 -05:00
commit 2a9c2183e8
3 changed files with 17 additions and 8 deletions

View File

@ -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'
)

View File

@ -1,7 +1,15 @@
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong preferences">
<h2>Preferences</h2>
<h2 style="float:left">Preferences</h2>
<form method="post" action="/Preference/index" enctype="application/x-www-form-urlencoded">
<div class="button-bar bottom" id="submit-element" style="float:right">
<input type="submit" class="ui-button ui-state-default right-floated" value="Save" id="Save" name="Save" />
</div>
<div style="clear:both"></div>
<?php
echo $this->statusMsg;
echo $this->form;
?>
</form>
</div>

View File

@ -323,7 +323,8 @@ function createDataTable(data) {
"oLanguage": {
"sSearch": ""
},
"iDisplayLength": getNumEntriesPreference(data)
"iDisplayLength": getNumEntriesPreference(data),
"bStateSave": true
});
dTable.fnSetFilteringDelay(350);