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 217369 Details for
Bug 382550
GCLI not compatible with IE9
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.
proposed patch for 0.5 to disable Console on IE
patch.txt (text/plain), 1.68 KB, created by
Grant Gayed
on 2012-06-14 11:58:05 EDT
(
hide
)
Description:
proposed patch for 0.5 to disable Console on IE
Filename:
MIME Type:
Creator:
Grant Gayed
Created:
2012-06-14 11:58:05 EDT
Size:
1.68 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.core/web/orion/widgets/Console.js b/bundles/org.eclipse.orion.client.core/web/orion/widgets/Console.js >index bfa4431..c0c8e42 100644 >--- a/bundles/org.eclipse.orion.client.core/web/orion/widgets/Console.js >+++ b/bundles/org.eclipse.orion.client.core/web/orion/widgets/Console.js >@@ -45,6 +45,13 @@ > if (!input) { throw messages["no input"]; } > if (!output) { throw messages["no output"]; } > >+ if (navigator.appName === "Microsoft Internet Explorer") { //$NON-NLS-0$ >+ var label = document.createElement("label"); //$NON-NLS-0$ >+ label.innerText = messages["Sorry, the Console is not currently supported on your version of Internet Explorer."]; >+ output.appendChild(label); >+ return; >+ } >+ > var outputDiv = document.createElement("div"); //$NON-NLS-0$ > outputDiv.id = "gcli-display"; //$NON-NLS-0$ > outputDiv.style.height = "100%"; //$NON-NLS-0$ >diff --git a/bundles/org.eclipse.orion.client.core/web/orion/widgets/nls/root/messages.js b/bundles/org.eclipse.orion.client.core/web/orion/widgets/nls/root/messages.js >index 540ba29..6ec3d00 100644 >--- a/bundles/org.eclipse.orion.client.core/web/orion/widgets/nls/root/messages.js >+++ b/bundles/org.eclipse.orion.client.core/web/orion/widgets/nls/root/messages.js >@@ -62,5 +62,6 @@ > "View profile of ": "View profile of ", > "Profiles": "Profiles", > "Information Needed": "Information Needed", >- "Cancel": "Cancel" >-}); >\ No newline at end of file >+ "Cancel": "Cancel", >+ "Sorry, the Console is not currently supported on your version of Internet Explorer.": "Sorry, the Console is not currently supported on your version of Internet Explorer." >+});
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 Raw
Actions:
View
Attachments on
bug 382550
: 217369