Client: updateFieldData setOptions current value fix
commit
b5fc56c62c
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue