{"action":"created","issue":{"url":"https://api.github.com/repos/gmkarl/lightspeedbulk/issues/26","labels_url":"https://api.github.com/repos/gmkarl/lightspeedbulk/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/gmkarl/lightspeedbulk/issues/26/comments","events_url":"https://api.github.com/repos/gmkarl/lightspeedbulk/issues/26/events","html_url":"https://github.com/gmkarl/lightspeedbulk/issues/26","id":115081612,"number":26,"title":"setTimeout onLineItem: TypeError: null is not an object (evaluating 'this.element.getElementsByClassName')","user":{"login":"lightspeedbulk","id":15116305,"avatar_url":"https://avatars.githubusercontent.com/u/15116305?v=3","gravatar_id":"","url":"https://api.github.com/users/lightspeedbulk","html_url":"https://github.com/lightspeedbulk","followers_url":"https://api.github.com/users/lightspeedbulk/followers","following_url":"https://api.github.com/users/lightspeedbulk/following{/other_user}","gists_url":"https://api.github.com/users/lightspeedbulk/gists{/gist_id}","starred_url":"https://api.github.com/users/lightspeedbulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightspeedbulk/subscriptions","organizations_url":"https://api.github.com/users/lightspeedbulk/orgs","repos_url":"https://api.github.com/users/lightspeedbulk/repos","events_url":"https://api.github.com/users/lightspeedbulk/events{/privacy}","received_events_url":"https://api.github.com/users/lightspeedbulk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T15:43:44Z","updated_at":"2015-11-09T15:16:31Z","closed_at":"2015-11-09T15:16:31Z","body":"Stack trace:\n```\ndescription\nonLineItem\n\nhttps://east15.merchantos.com/register.php?form_name=complete_special_order_line&transaction_line_id=286033:34:134\nnrWrapper@https://east15.merchantos.com/register.php?form_name=complete_special_order_line&transaction_line_id=286033:71:12817\n```\nEvent log:\n```\nonItemSearch(\"smith hamb\")\najaxRegister_Return({\"set_focus\":\"add_search_item_text\",\"line_type\":\"register_transaction\",\"add_line\":true,\"line_id\":\"287603\",\"add_line_html\":\"\\t\\t\\t<tr data-automation=\\\"saleLineItem\\\" class=\\\"popdisplay_line\\\" id=\\\"line_287603_3\\\">\\r\\n\\t\\t\\t<td class=\\\"row_controls\\\">\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a data-automation=\\\"trashBinButton\\\"\\r\\n\\t\\t\\t\\t\\t   href=\\\"#\\\" class=\\\"control\\\" onclick=\\\"merchantos.register.removeLine(287603\\r\\n\\t\\t\\t\\t\\t   \\t); return false;\\\"><i class=\\\"icon-trash\\\"></i></a>\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t</td>\\r\\n\\t\\t\\t<td data-automation=\\\"saleLineItemDescription\\\" class=\\\"register-lines-control\\\">\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t<a data-automation=\\\"saleLineItemDescriptionLink\\\"\\r\\n\\t\\t\\t\\t\\thref=\\\"#\\\" onclick=\\\"merchantos.register.inlineEditLine('transaction_line',287603,287603); return false;\\\">Smith Maple Crest Ground Beef Hamburger $5.99/#</a>\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div id=\\\"discountDescription\\\" class=\\\"discount\\\">\\r\\n\\t\\t\\t\\t\\tMember Discount\\r\\n        \\t\\t\\t        \\t\\t\\t\\t/\\r\\n        \\t\\t\\t\\tMember:\\r\\n        \\t\\t\\t\\t$-0.12\\r\\n        \\t\\t\\t\\t\\t\\t\\t    </div>\\r\\n    \\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\t</td>\\r\\n\\t\\t\\t<td data-automation=\\\"saleLineItemPrice\\\"\\r\\n\\t\\t\\t\\tclass=\\\"popdisplay_price money\\\">\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$5.99\\r\\n\\t\\t\\t\\t\\t\\t\\t</td>\\r\\n\\r\\n\\t\\t\\t\\t\\t\\t\\t<td>\\r\\n\\t\\t\\t\\t\\t<input data-automation=\\\"saleLineItemQuantity\\\"\\r\\n\\t\\t\\t\\t\\t\\t   type=\\\"number\\\" id=\\\"transaction_line_qout_287603\\\" class=\\\"popdisplay_quantity number xx-small\\\" maxlength=\\\"8\\\" tabindex=\\\"3000\\\" onchange=\\\"parseNumberChange(this); merchantos.register.saveDirectEdit('transaction_line','transaction_line.qout',287603,287603,getFormFieldValue(this)); return false;\\\" value=\\\"1\\\" onblur=\\\"merchantos.register.inputBlur();\\\"  onkeyup=\\\"merchantos.register.inputKeyPress(event);\\\" />\\r\\n\\t\\t\\t\\t\\t\\t\\t</td>\\r\\n\\t\\t\\t<td data-automation=\\\"saleLineItemTax\\\">\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tNo\\r\\n\\t\\t\\t\\t\\t\\t\\t</td>\\r\\n\\t\\t\\t<td data-automation=\\\"saleLineItemSubtotal\\\"\\r\\n\\t\\t\\t    class=\\\"popdisplay_subtotal money\\\">\\r\\n\\t\\t\\t\\t$5.87\\r\\n\\t\\t\\t</td>\\r\\n\\t\\t\\t\\t\\t</tr>\\r\\n\\t<tr id=\\\"line_287603_edit\\\" style=\\\"display: none;\\\" class=\\\"edit_row\\\">\\r\\n\\t<td colspan=\\\"6\\\" id=\\\"line_287603_edit_inner\\\"  class=\\\"line-edit\\\">\\r\\n\\t</td>\\r\\n</tr>\\r\\n\",\"totals_html\":\"<div class=\\\"register-summary\\\">\\r\\n\\t<table>\\r\\n\\t\\t<tr>\\r\\n\\t\\t\\t<th>Subtotal</th>\\r\\n\\t\\t\\t<td id=\\\"popdisplay_subtotal\\\">$459.59</td>\\r\\n\\t\\t</tr>\\r\\n\\t\\t<tr class=\\\"discount\\\">\\r\\n\\t\\t\\t<th>Discounts</th>\\r\\n\\t\\t\\t<td id=\\\"discountValue\\\">\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$-0.12\\r\\n\\t\\t\\t\\t\\t\\t\\t</td>\\r\\n\\t\\t</tr>\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<tr data-automation=\\\"totalsTaxLineItem\\\">\\r\\n\\t\\t<th id=\\\"taxName_1\\\" data-automation=\\\"taxName\\\" >\\r\\n\\t\\t\\tTax \\t\\t</th>\\r\\n\\t\\t<td id=\\\"taxValue_1\\\" data-automation=\\\"taxValue\\\" >\\r\\n\\t\\t\\t$27.22\\r\\n\\t\\t</td>\\r\\n\\t</tr>\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<tr class=\\\"total\\\">\\r\\n\\t\\t\\t\\t<th id=\\\"totalName\\\">Total</th>\\r\\n\\t\\t\\t\\t<td id=\\\"sale_total\\\">$486.69</td>\\r\\n\\t\\t\\t</tr>\\r\\n\\t\\t\\t\\t\\t\\t</table>\\r\\n</div>\\r\\n\\r\\n\",\"pannel_id\":0,\"requests\":[],\"evalcode\":\"\",\"success_msg\":false,\"failed_msg\":false,\"alert_msg\":false,\"debug\":false,\"add_html\":null,\"general_msgs\":[]})\nonLineItem(287603)\n```"},"comment":{"url":"https://api.github.com/repos/gmkarl/lightspeedbulk/issues/comments/155092614","html_url":"https://github.com/gmkarl/lightspeedbulk/issues/26#issuecomment-155092614","issue_url":"https://api.github.com/repos/gmkarl/lightspeedbulk/issues/26","id":155092614,"user":{"login":"gmkarl","id":8683238,"avatar_url":"https://avatars.githubusercontent.com/u/8683238?v=3","gravatar_id":"","url":"https://api.github.com/users/gmkarl","html_url":"https://github.com/gmkarl","followers_url":"https://api.github.com/users/gmkarl/followers","following_url":"https://api.github.com/users/gmkarl/following{/other_user}","gists_url":"https://api.github.com/users/gmkarl/gists{/gist_id}","starred_url":"https://api.github.com/users/gmkarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmkarl/subscriptions","organizations_url":"https://api.github.com/users/gmkarl/orgs","repos_url":"https://api.github.com/users/gmkarl/repos","events_url":"https://api.github.com/users/gmkarl/events{/privacy}","received_events_url":"https://api.github.com/users/gmkarl/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T15:16:31Z","updated_at":"2015-11-09T15:16:31Z","body":"Duplicate of #22 "}}