summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-11 22:59:06 (EDT)
committer Szymon Brandys2013-06-12 06:31:44 (EDT)
commit88b0a212254aa0690cd9ec46d2b70d697a5f726f (patch)
treec82c68b323b2b8f3ae54dbe1a0e0cf42cf217802
parentb825f59086f04ae778cd464fab5cb82e09af3b2d (diff)
downloadorg.eclipse.orion.client-88b0a212254aa0690cd9ec46d2b70d697a5f726f.zip
org.eclipse.orion.client-88b0a212254aa0690cd9ec46d2b70d697a5f726f.tar.gz
org.eclipse.orion.client-88b0a212254aa0690cd9ec46d2b70d697a5f726f.tar.bz2
Bug 410548 - Removed unused divs and fixed divs used as line break in gitRepositoryExplorer.js
-rw-r--r--bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js13
1 files changed, 2 insertions, 11 deletions
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js
index 517a707..e3634a0 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js
@@ -667,9 +667,6 @@ exports.GitRepositoryExplorer = (function() {
title.textContent = branch.Name;
detailsView.appendChild(title);
- var div = document.createElement("div");
- detailsView.appendChild(div);
-
var commit = branch.Commit.Children[0];
var tracksMessage = ((branch.RemoteLocation.length && branch.RemoteLocation.length === 1 && branch.RemoteLocation[0].Children.length && branch.RemoteLocation[0].Children.length === 1) ?
@@ -777,9 +774,6 @@ exports.GitRepositoryExplorer = (function() {
title.textContent = remoteBranch.Name;
detailsView.appendChild(title);
- var div = document.createElement("div");
- detailsView.appendChild(div);
-
var actionsArea = document.createElement("div");
actionsArea.className = "sectionTableItemActions";
actionsArea.id = "branchActionsArea";
@@ -929,14 +923,11 @@ exports.GitRepositoryExplorer = (function() {
detailsView.className = "stretch";
horizontalBox.appendChild(detailsView);
- var title = document.createElement("span");
+ var title = document.createElement("div");
title.textContent = messages["The branch is up to date."];
detailsView.appendChild(title);
- var div = document.createElement("div");
- detailsView.appendChild(div);
-
- var description = document.createElement("span");
+ var description = document.createElement("div");
description.textContent = messages["You have no outgoing or incoming commits."];
detailsView.appendChild(description);
};