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 246980 Details for
Bug 391839
Successful apply patch should refresh page
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]
refreshing content when patch is applied
applyPatch (text/plain), 1.95 KB, created by
Insoo Choo
on 2014-09-11 13:59:17 EDT
(
hide
)
Description:
refreshing content when patch is applied
Filename:
MIME Type:
Creator:
Insoo Choo
Created:
2014-09-11 13:59:17 EDT
Size:
1.95 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 3ec3a22..43694b6 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 >@@ -2272,6 +2272,7 @@ > display.HTML = false; > display.Message = message; > messageService.setProgressResult(display); //$NON-NLS-0$ >+ dispatchModelEventOn({type: "modelChanged", action: "applyPatch"}); > return; > } > } catch (e){ >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 241d5ea..f52f72e 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 >@@ -108,6 +108,11 @@ > case "stage": //$NON-NLS-0$ > case "unstage": //$NON-NLS-0$ > break; >+ case "applyPatch": >+ that.repository.status = null; >+ that.changes = null; >+ that.setSelectedChanges(that.changes); >+ break; > case "cherrypick": //$NON-NLS-0$ > default: > that.changedItem(); >diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/gitCommitList.js b/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/gitCommitList.js >index cf467f4..bc6f2f9 100644 >--- a/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/gitCommitList.js >+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/gitCommitList.js >@@ -386,6 +386,7 @@ > } > mGitCommands.getModelEventDispatcher().addEventListener("modelChanged", this._modelListener = function(event) { //$NON-NLS-0$ > switch (event.action) { >+ case "applyPatch": //$NON-NLS-0$ > case "stage": //$NON-NLS-0$ > case "unstage": //$NON-NLS-0$ > Deferred.when(this.model.root.repository.status, function(status) {
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 391839
: 246980