[FIX] wek_kanban_gauge: use field raw_value to avoid thousands separator etc.

This commit is contained in:
Olivier Dony 2014-07-28 18:49:32 +02:00
parent 120a2c1ec1
commit 7b4846afd7
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ instance.web_kanban.GaugeWidget = instance.web_kanban.AbstractField.extend({
}
var title = this.$node.html() || this.field.string;
// current gauge value
var val = this.field.value;
var val = this.field.raw_value;
if (_.isArray(JSON.parse(val))) {
val = JSON.parse(val);
}