This is not supposed to happen and I don't know why it did.
The js looks like this:
$('#products_on_order').on('click', '.edit_bound_container', function(e){
//alert(this.id);
var container_id = this.id.split('__')[1]
var count_field = 'bound_container_count_edit__' + container_id
var pounds_field = 'bound_container_quantity_packed_edit__' +
container_id
ajax(
edit_bound_container_url,
[count_field, pounds_field, 'order_id'],
':eval'
)
});
I thought somehow I had created duplicate input names, but there were none
that I could find.
Changing the input id so that it is not identical to the input name made
the problem go away.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.