diff --git a/module/repo/js/browse.ui.js b/module/repo/js/browse.ui.js
index 12059b8f69..cc0b6ed1d4 100644
--- a/module/repo/js/browse.ui.js
+++ b/module/repo/js/browse.ui.js
@@ -6,7 +6,7 @@ window.renderCell = function(result, {col, row})
if(col.name === 'name')
{
var iconHtml = '';
- result[0] = {html:iconHtml + '' + row.data.name + ''};
+ result[0] = {html:iconHtml + '' + row.data.name + ''};
return result;
}
@@ -32,7 +32,7 @@ window.renderCommentCell = function(result, {col, row})
{
if(col.name === 'revision')
{
- result[0] = {html:'' + row.data.revision + '', style:{flexDirection:"column"}};
+ result[0] = {html:'' + row.data.revision + '', style:{flexDirection:"column"}};
return result;
}
@@ -67,7 +67,7 @@ $('#repo-select').on('change', function()
/**
* 当选中两行时禁用其他行。
* Disable checkable attribution when checked rows equal 2.
- *
+ *
* @param object changes
* @access public
* @return void
diff --git a/module/repo/ui/browse.html.php b/module/repo/ui/browse.html.php
index de75d85498..51efaec7e2 100644
--- a/module/repo/ui/browse.html.php
+++ b/module/repo/ui/browse.html.php
@@ -241,6 +241,7 @@ dtable
$encodePath = $this->repo->encodePath($path);
$diffLink = $this->repo->createLink('diff', "repoID=$repoID&objectID=$objectID&entry=" . $encodePath . "&oldrevision={oldRevision}&newRevision={newRevision}");
+jsVar('appTab', $app->tab);
jsVar('repoID', $repoID);
jsVar('branch', $branchID);
jsVar('diffLink', $diffLink);