Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 211430 Details for
Bug 371882
Git Log get cleared after a failed Push
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix v1
clipboard.txt (text/plain), 3.92 KB, created by
Szymon Brandys
on 2012-02-22 12:10:52 EST
(
hide
)
Description:
Fix v1
Filename:
MIME Type:
Creator:
Szymon Brandys
Created:
2012-02-22 12:10:52 EST
Size:
3.92 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js >index 943477c..b774589 100644 >--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js >+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js >@@ -1152,11 +1152,14 @@ > function(jsonData){ > exports.handleProgressServiceResponse2(jsonData, serviceRegistry, > function() { >- if (!jsonData || !jsonData.HttpCode) >- dojo.query(".treeTableRow").forEach(function(node, i) { >- dojo.toggleClass(node, "outgoingCommitsdRow", false); >- }); >- dojo.hitch(explorer, explorer.changedItem)({}); >+ if (explorer.parentId === "explorer-tree") { >+ if (!jsonData || !jsonData.HttpCode) >+ dojo.query(".treeTableRow").forEach(function(node, i) { >+ dojo.toggleClass(node, "outgoingCommitsdRow", false); >+ }); >+ } else { >+ dojo.hitch(explorer, explorer.changedItem)(); >+ } > }, function (jsonData) { > handleResponse(jsonData, commandInvocation); > } >@@ -1191,11 +1194,14 @@ > function(jsonData){ > exports.handleProgressServiceResponse2(jsonData, serviceRegistry, > function() { >- if (!jsonData || !jsonData.HttpCode) >- dojo.query(".treeTableRow").forEach(function(node, i) { >- dojo.toggleClass(node, "outgoingCommitsdRow", false); >- }); >- dojo.hitch(explorer, explorer.changedItem)({}); >+ if (explorer.parentId === "explorer-tree") { >+ if (!jsonData || !jsonData.HttpCode) >+ dojo.query(".treeTableRow").forEach(function(node, i) { >+ dojo.toggleClass(node, "outgoingCommitsdRow", false); >+ }); >+ } else { >+ dojo.hitch(explorer, explorer.changedItem)(); >+ } > }, function (jsonData) { > handleResponse(jsonData, commandInvocation); > } >@@ -1285,11 +1291,14 @@ > function(jsonData){ > exports.handleProgressServiceResponse2(jsonData, serviceRegistry, > function() { >- if (!jsonData || !jsonData.HttpCode) >- dojo.query(".treeTableRow").forEach(function(node, i) { >- dojo.toggleClass(node, "outgoingCommitsdRow", false); >- }); >- dojo.hitch(explorer, explorer.changedItem)({}); >+ if (explorer.parentId === "explorer-tree") { >+ if (!jsonData || !jsonData.HttpCode) >+ dojo.query(".treeTableRow").forEach(function(node, i) { >+ dojo.toggleClass(node, "outgoingCommitsdRow", false); >+ }); >+ } else { >+ dojo.hitch(explorer, explorer.changedItem)(); >+ } > }, function (jsonData) { > handleResponse(jsonData, commandInvocation); > } >@@ -1324,11 +1333,14 @@ > function(jsonData){ > exports.handleProgressServiceResponse2(jsonData, serviceRegistry, > function() { >- if (!jsonData || !jsonData.HttpCode) >- dojo.query(".treeTableRow").forEach(function(node, i) { >- dojo.toggleClass(node, "outgoingCommitsdRow", false); >- }); >- dojo.hitch(explorer, explorer.changedItem)({}); >+ if (explorer.parentId === "explorer-tree") { >+ if (!jsonData || !jsonData.HttpCode) >+ dojo.query(".treeTableRow").forEach(function(node, i) { >+ dojo.toggleClass(node, "outgoingCommitsdRow", false); >+ }); >+ } else { >+ dojo.hitch(explorer, explorer.changedItem)(); >+ } > }, function (jsonData) { > handleResponse(jsonData, commandInvocation); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 371882
: 211430