浏览代码

Merge pull request #111 from Jed974/bugs&improvements

CDB path tooltip
trethaller 4 年之前
父节点
当前提交
7299bdf79d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/comp/cdb/Cell.hx

+ 1 - 0
hide/comp/cdb/Cell.hx

@@ -349,6 +349,7 @@ class Cell extends Component {
 			var ext = v.split(".").pop().toLowerCase();
 			if (v == "") return '<span class="error">#MISSING</span>';
 			var html = StringTools.htmlEscape(v);
+			html = '<span title=\'$html\' >' + html  + '</span>';
 			if (!editor.quickExists(path)) return '<span class="error">$html</span>';
 			else if( ext == "png" || ext == "jpg" || ext == "jpeg" || ext == "gif" ) {
 				var img = '<img src="$url" onload="$(this).parent().find(\'.label\').text(this.width+\'x\'+this.height)"/>';