Fixing issue 1024 (#1041)

Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
This commit is contained in:
wajnberg
2016-11-16 16:11:27 +02:00
committed by Nick O'Leary
parent dbceef2581
commit b67df2c0ab
6 changed files with 22 additions and 10 deletions

View File

@@ -57,7 +57,7 @@
outputs:1,
icon: "file.png",
label: function() {
return this.name||this.filename;
return this.name||RED.text.format.getString(this.filename, "filepath", {}, false, "en");
},
labelStyle: function() {
return this.name?"node_label_italic":"";