Browse Source
💚 mail_check_immediately/static/src/js/main
pull/258/head
Ivan Yelizariev
5 years ago
No known key found for this signature in database
GPG Key ID: 93F14FB6A8B57057
1 changed files with
2 additions and
1 deletions
-
mail_check_immediately/static/src/js/main.js
|
|
@ -1,4 +1,5 @@ |
|
|
|
openerp.mail_check_immediately = function(instance, local) { |
|
|
|
"use strict"; |
|
|
|
instance.mail.Wall.include({ |
|
|
|
init: function() { |
|
|
|
this._super.apply(this, arguments); |
|
|
@ -42,7 +43,7 @@ openerp.mail_check_immediately = function(instance, local) { |
|
|
|
context: new instance.web.CompoundContext(), |
|
|
|
}) |
|
|
|
.then(function(res) { |
|
|
|
var value; |
|
|
|
var value = null; |
|
|
|
if (res) value = $.timeago(res); |
|
|
|
value = value || "undefined"; |
|
|
|
_this.$el |
|
|
|