浏览代码

[home2] Fix issue with document links

Johan Ahlen 10 年之前
父节点
当前提交
99c9d041f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/templates/file_browser.mako

+ 1 - 1
desktop/core/src/desktop/templates/file_browser.mako

@@ -222,7 +222,7 @@ from desktop.views import _ko
               <a href="javascript: void(0);" data-bind="text: name, click: function () { $data.open(true); $parents[1].currentDirectory($data); }"></a>
               <!-- /ko -->
               <!-- ko ifnot: definition.type === 'directory' -->
-              <a data-bind="text: name, attr: { href: absoluteUrl }"></a>
+              <a data-bind="text: definition.name, attr: { href: definition.absoluteUrl }"></a>
               <!-- /ko -->
             </div>
             <div class="fb-attr-group">