};
ns.add_customerprice_row = function() {
- if ($('#add_customerpriceid').val() === '') return;
+ if ($('#add_customerprice').val() === '') return;
var data = $('#customerprice_table :input').serializeArray();
data.push({ name: 'action', value: 'Part/add_customerprice_row' });