[FIX] web: add a default value for progressbar

Remove the value in the input leaded to a traceback.
This commit is contained in:
Martin Geubelle
2015-08-26 14:29:20 +02:00
parent 66d97cb7e4
commit 1e4e1644a9
@@ -84,7 +84,7 @@ var ProgressBar = Widget.extend({
if(this.edit_max_value) {
this.max_value = $(e.target).val();
} else {
this.value = $(e.target).val();
this.value = $(e.target).val() || 0;
}
this._render_value();