[FIX]Fixed code for if help is false.

bzr revid: vja@vja-desktop-20111117071452-0n1pxy6zwbwgo3dg
This commit is contained in:
vishmita 2011-11-17 12:44:52 +05:30
parent 9cf9849c4b
commit 223c3a7b8b
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ openerp.web_process = function (openerp) {
var self = this,
def = $.Deferred();
if(!this.subflow_model) {
def.resolve(this.action ? this.action.help : 'Help: Not Defined');
def.resolve(this.action ? (this.action.help!=false ? this.action.help : 'Help: Not Defined') : 'Help: Not Defined');
} else {
var dataset = new openerp.web.DataSetSearch(this, "ir.actions.act_window", this.session.context, []);
dataset