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="' +
|
$("#receipt-customer-id").html('<A HREF="' +
|
||||||
"<?php echo $html->url(array('controller' => 'customers',
|
"<?php echo $html->url(array('controller' => 'customers',
|
||||||
'action' => 'view')); ?>"
|
'action' => 'view')); ?>"
|
||||||
+ "/" +
|
+ "/" + customer_id + '">' +
|
||||||
$(grid_id).getCell(customer_id, 'Customer-id').replace(/^#/,'') +
|
'#' + customer_id +
|
||||||
'">' +
|
|
||||||
$(grid_id).getCell(customer_id, 'Customer-id') +
|
|
||||||
'</A>');
|
'</A>');
|
||||||
$("#receipt-customer-name").html($(grid_id).getCell(customer_id, 'Customer-name'));
|
$("#receipt-customer-name").html($(grid_id).getCell(customer_id, 'Customer-name'));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user