1
0
Fork 0

Client: updateFieldData setOptions current value fix

master
Mike Gerwitz 2018-04-05 09:04:38 -04:00
commit b5fc56c62c
1 changed files with 4 additions and 6 deletions

View File

@ -842,15 +842,13 @@ module.exports = Class( 'Client' )
// populate and enable field *only if* results were returned // populate and enable field *only if* results were returned
// and if the quote has not been locked; but first, give the // and if the quote has not been locked; but first, give the
// UI a chance to finish updating // UI a chance to finish updating
(function ( index ) ( function( index, cur )
{ {
setTimeout( function() setTimeout( function()
{ {
group group.setOptions( name, index, data, cur );
.setOptions( name, index, data, cur ); }, 0 );
}, 25 ); } )( i, cur );
})(i)
} }
update.length && _self._quote.setDataByName( name, update ); update.length && _self._quote.setDataByName( name, update );