From: Alan Knowles Date: Thu, 18 Sep 2014 03:56:51 +0000 (+0800) Subject: Pman.Dialog.CoreCompanies.bjs.2MU1LX X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=ad716155c68f9e3d109a5ed119a5ec4a3cdf83d4 Pman.Dialog.CoreCompanies.bjs.2MU1LX Pman.Dialog.CoreCompanies.bjs Pman.Dialog.CoreCompanies.js.BA51LX Pman.Dialog.CoreCompanies.js --- diff --git a/Pman.Dialog.CoreCompanies.bjs b/Pman.Dialog.CoreCompanies.bjs index 049e777b..306acf7d 100644 --- a/Pman.Dialog.CoreCompanies.bjs +++ b/Pman.Dialog.CoreCompanies.bjs @@ -200,7 +200,7 @@ "fieldLabel" : "Logo Image", "style" : "border: 1px solid #ccc;", "xtype" : "DisplayField", - "$ valueRenderer" : "function(v) {\n //var vp = v ? v : 'Companies:' + _this.data.id + ':-LOGO';\n if (!v) {\n return \"No Image Available\" + '
';\n }\n return String.format('', \n baseURL + '/Images/Thumb/150x150/' + v + '/logo.jpg',\n baseURL + '/Images/Thumb/'+v+'/logo.jpg' \n );\n}", + "$ valueRenderer" : "function(v) {\n //var vp = v ? v : 'Companies:' + _this.data.id + ':-LOGO';\n if (!v) {\n return \"No Image Available\" + '
';\n }\n return String.format('', \n baseURL + '/Images/Thumb/150x150/' + v + '/logo.jpg',\n baseURL + '/Images/Thumb/'+v+'/logo.jpg' \n );\n}", "icon" : "rootURL + 'images/default/dd/drop-add.gif'", "width" : 170, "$ xns" : "Roo.form", diff --git a/Pman.Dialog.CoreCompanies.js b/Pman.Dialog.CoreCompanies.js index 4f698116..a13dd2c5 100644 --- a/Pman.Dialog.CoreCompanies.js +++ b/Pman.Dialog.CoreCompanies.js @@ -304,7 +304,7 @@ Pman.Dialog.CoreCompanies = { if (!v) { return "No Image Available" + '
'; } - return String.format('', + return String.format('', baseURL + '/Images/Thumb/150x150/' + v + '/logo.jpg', baseURL + '/Images/Thumb/'+v+'/logo.jpg' );