Subversion Repositories SmartDukaan

Rev

Rev 23988 | Rev 23990 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23988 Rev 23989
Line 68... Line 68...
68
                    $('div#error').html(response);
68
                    $('div#error').html(response);
69
                    $('table#bulk-order-items tbody>tr').each(function(rowIndex, rowElement) {
69
                    $('table#bulk-order-items tbody>tr').each(function(rowIndex, rowElement) {
70
                        // Skipping first sample row
70
                        // Skipping first sample row
71
                        if (rowIndex != 0) {
71
                        if (rowIndex != 0) {
72
                            $(rowElement).find('input').each(function(inputIndex, inputElement) {
72
                            $(rowElement).find('input').each(function(inputIndex, inputElement) {
73
                                if ($(inputElement).attr('name').indexOf('lineItems[') > 0) {
73
                                if ($(inputElement).attr('name').indexOf('.') > 0) {
74
                                    $(inputElement).attr('name', $(inputElement).attr('name').split('.')[1]);
74
                                    $(inputElement).attr('name', $(inputElement).attr('name').split('.')[1]);
75
                                }
75
                                }
76
                            });
76
                            });
77
                        }
77
                        }
78
                    });
78
                    });