Skip to content
Snippets Groups Projects
Commit 6d9b4de9 authored by Haresh Shyara's avatar Haresh Shyara Committed by Josse Colpaert
Browse files

[IMP] mrp: timer duration improvement

parent 5a1db6cd
Branches
Tags
No related merge requests found
......@@ -38,7 +38,7 @@ var TimeCounter = common.AbstractField.extend(common.ReinitializeFieldMixin, {
},
start_time_counter: function(){
var self = this;
this.timer = null;
clearTimeout(this.timer);
if (this.field_manager.datarecord.is_user_working) {
this.duration += 1000;
this.timer = setTimeout(function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment