Fixed bug caused by removal of the ID column from the grid.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@766 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -121,10 +121,8 @@ function onRowSelect(grid_id, customer_id) {
|
||||
$("#receipt-customer-id").html('<A HREF="' +
|
||||
"<?php echo $html->url(array('controller' => 'customers',
|
||||
'action' => 'view')); ?>"
|
||||
+ "/" +
|
||||
$(grid_id).getCell(customer_id, 'Customer-id').replace(/^#/,'') +
|
||||
'">' +
|
||||
$(grid_id).getCell(customer_id, 'Customer-id') +
|
||||
+ "/" + customer_id + '">' +
|
||||
'#' + customer_id +
|
||||
'</A>');
|
||||
$("#receipt-customer-name").html($(grid_id).getCell(customer_id, 'Customer-name'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user