Commit 8cbf0919 authored by Iain Poulson's avatar Iain Poulson

Merge branch 'issue#2886' into 'develop'

Added Number check to ensure that js reports proper values for calcs of multi-select.

Closes #2886

See merge request !3830
parents ff2e11f3 de205bf8
Pipeline #2481 passed with stages
in 6 minutes and 14 seconds
......@@ -136,7 +136,7 @@ define([], function() {
*/
_.each( fieldModel.get( 'value' ), function( val ) {
var tmp_opt = _.find( options, function( opt ) { return opt.value == val } );
calc_value += tmp_opt.calc;
calc_value += Number( tmp_opt.calc );
} );
} else {
/*
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment