More tweaking with grids that need to be reloaded immediately after page load. Fixed a bug with the statement_entry balance field, as there were two of them.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@534 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -15,7 +15,7 @@ echo '<div class="account collected">' . "\n";
|
||||
|
||||
// Reset the form
|
||||
function resetForm() {
|
||||
<?php /* REVISIT <AP>: 20090810; Hate to do this, but first data is wrong... */ ?>
|
||||
// Kick off the grid
|
||||
updateEntriesGrid();
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ function updateEntriesGrid() {
|
||||
.setGridParam({ page: 1 })
|
||||
.trigger("reloadGrid");
|
||||
|
||||
//$('#debug').html("<PRE>\n"+htmlEncode(dump($('#collected-entries-jqGrid').getGridParam()))+"\n</PRE>")
|
||||
var gridstate = $('#collected-entries-jqGrid').getGridParam('gridstate');
|
||||
if (gridstate == 'hidden')
|
||||
$('#collected-entries .HeaderButton').click();
|
||||
@@ -204,5 +205,3 @@ echo '</div>' . "\n";
|
||||
echo '</div>' . "\n";
|
||||
|
||||
?>
|
||||
|
||||
<a href="#" onClick="$('#debug').html(''); return false;">Clear Debug Output</a>
|
||||
|
||||
Reference in New Issue
Block a user