diff options
| author | Christophe Simonis <chs@openerp.com> | 2012-12-14 16:52:25 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2012-12-14 16:52:25 +0100 |
| commit | 2c8f4f75729c20ff9c43dff100e3eb97e86ffd5e (patch) | |
| tree | a5e0e717846f0c4f55bf319cb627c44b6ec48139 | |
| parent | 539af8a8f04375e100eb55d7c61b25b39c5c31f2 (diff) | |
[FIX] hr_attendance: invert condition
bzr revid: chs@openerp.com-20121214155225-olze66svgx4hwqvg
| -rw-r--r-- | addons/hr_attendance/static/src/js/attendance.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_attendance/static/src/js/attendance.js b/addons/hr_attendance/static/src/js/attendance.js index f030562da9b..c2750a920a4 100644 --- a/addons/hr_attendance/static/src/js/attendance.js +++ b/addons/hr_attendance/static/src/js/attendance.js @@ -76,7 +76,7 @@ openerp.hr_attendance = function (instance) { this._super(); var self = this; this.update_promise.done(function () { - if (_.isUndefined(self.attendanceslider)) { + if (!_.isUndefined(self.attendanceslider)) { return; } // check current user is an employee |
