[DOC] Share: added some comments.

bzr revid: tde@openerp.com-20120629080607-5gyr8jsy1hb4jv15
This commit is contained in:
Thibault Delavallée 2012-06-29 10:06:07 +02:00
parent 4dd9c631ac
commit 2cf2b9e92b
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,12 @@ openerp.share = function(session) {
},
});
/**
* Extends mail (Chatter widget)
* - show the 'invite' button' only we came on the form view through
* an action. We do this because 'invite' is based on the share
* mechanism, and it tries to share an action.
*/
session.mail.RecordThread.include( {
start: function() {
start_res = this._super.apply(this, arguments);