summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-12 11:52:08 (EDT)
committer Malgorzata Janczarska2013-06-12 12:38:26 (EDT)
commit621ed228673ba5356132307b90fe770b574df424 (patch)
tree5c8a9ca188ba117630d6b95d4314121a23197e84
parent0f8225fd0b0c1f2a400243751ca862a1af1ebf29 (diff)
downloadorg.eclipse.orion.client-621ed228673ba5356132307b90fe770b574df424.zip
org.eclipse.orion.client-621ed228673ba5356132307b90fe770b574df424.tar.gz
org.eclipse.orion.client-621ed228673ba5356132307b90fe770b574df424.tar.bz2
Bug 410465 - Git Status: only one commit displayed
Conflicts: bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
-rw-r--r--bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
index 9286c31..099f7da 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
@@ -888,7 +888,6 @@ define(['require', 'i18n!git/nls/gitmessages', 'orion/explorers/explorer', 'orio
GitStatusExplorer.prototype.renderCommit = function(commit, outgoing, index) {
var commitNode = lib.node("commitNode"); //$NON-NLS-0$
- commitNode.innerHTML = ""; //$NON-NLS-0$
var sectionItem = document.createElement("div"); //$NON-NLS-0$
sectionItem.className = "sectionTableItem lightTreeTableRow"; //$NON-NLS-0$
commitNode.appendChild(sectionItem);
@@ -927,10 +926,7 @@ define(['require', 'i18n!git/nls/gitmessages', 'orion/explorers/explorer', 'orio
new mCommitTooltip.CommitTooltipDialog({commit: commit, triggerNode: titleLink});
- var d = document.createElement("div"); //$NON-NLS-0$
- detailsView.appendChild(d);
-
- var description = document.createElement("span"); //$NON-NLS-0$
+ var description = document.createElement("div"); //$NON-NLS-0$
description.textContent = " (SHA " + commit.Name + ") by " + commit.AuthorName //$NON-NLS-1$ //$NON-NLS-0$
+ " on " + new Date(commit.Time).toLocaleString(); //$NON-NLS-0$
detailsView.appendChild(description);
@@ -940,4 +936,4 @@ define(['require', 'i18n!git/nls/gitmessages', 'orion/explorers/explorer', 'orio
}());
return exports;
-}); // end of define
+}); // end of define \ No newline at end of file