Skip to content
Snippets Groups Projects
Commit 1e4e1644 authored by Martin Geubelle's avatar Martin Geubelle
Browse files

[FIX] web: add a default value for progressbar

Remove the value in the input leaded to a traceback.
parent 66d97cb7
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment