[IMP] Minor change.

bzr revid: jra@tinyerp.com-20120627081522-k1w8dbs1ae6ammdp
This commit is contained in:
Jiten (OpenERP) 2012-06-27 13:45:22 +05:30
parent 18dd2dfcab
commit 646d937e30
1 changed files with 2 additions and 2 deletions

View File

@ -165,10 +165,10 @@ openerp.web_linkedin = function(instance) {
});
$("#register").click(function() {
var key = $("#apikey").val();
if(key.length){
if(key){
var user = new instance.web.DataSet(self, "res.users");
user.call("set_linkedin_api_key", [key]);
self.dialog.remove(),
self.dialog.remove();
//self.__parentedParent.reload();
}
else {