Project:
View Revisions: Issue #48594 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0048594: Callback is missing in CreateLine function of Order model | ||
Revision | 2022-02-15 11:07 by prakashmurugesan88 | ||
Steps To Reproduce | In livebuilds, Open terminal Try to add lines using CreateLine function as below in browser console, OB.Dal.get( OB.Model.Product, '934E7D7587EC4C7A9E9FF58F0382D450', function(product) { OB.MobileApp.model.receipt.createLine( product, 1, null, null, () => { console.error('success'); }, () => { console.error('error'); } ); } ); Notice success callback is not printed |
||
Revision | 2022-02-15 08:33 by prakashmurugesan88 | ||
Steps To Reproduce | Try to add line to ticket by invoking createLine function with callback parameter. Notice callback is not called after line creation. args.receipt.createLine( product, args.qtyToAdd, (success, orderline) => { console.log('success'); }, () => { console.log('error'); } ); |
Copyright © 2000 - 2009 MantisBT Group |