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 198059 Details for
Bug 349508
[client] Register Orion editor for .htm files
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 v2
patch.txt (text/plain), 1.54 KB, created by
John Arthorne
on 2011-06-15 22:04:12 EDT
(
hide
)
Description:
Fix v2
Filename:
MIME Type:
Creator:
John Arthorne
Created:
2011-06-15 22:04:12 EDT
Size:
1.54 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.core/web/orion/outliner.js b/bundles/org.eclipse.orion.client.core/web/orion/outliner.js >index 4967285..5ab25f3 100644 >--- a/bundles/org.eclipse.orion.client.core/web/orion/outliner.js >+++ b/bundles/org.eclipse.orion.client.core/web/orion/outliner.js >@@ -109,7 +109,8 @@ define(['dojo', 'orion/util'], function(dojo, mUtil) { > this._createLink(name, href, items); > } > dojo.place(items, this._parent, "only"); >- } else if (resource.title.indexOf(".html") === resource.title.length - 5) { >+ } else if (resource.title.indexOf(".html") === resource.title.length - 5 || >+ resource.title.indexOf(".htm") === resource.title.length - 4) { > items = dojo.create("div"); > var pattern = /id=['"]\S*["']/gi; // experimental: |<head[^>]*|<body[^>]*|<script[^>]*/gi; > var result; >diff --git a/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html b/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html >index 1aad677..cc03b51 100644 >--- a/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html >+++ b/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html >@@ -34,7 +34,7 @@ window.onload = function() { > var serviceProperties = { > name: "Orion web editor", > href: "/edit/edit.html#${Location}", >- validationProperties: {Name: "*.(css|js|html|txt|xml|java)"} >+ validationProperties: {Name: "*.(css|js|htm|html|txt|xml|java)"} > }; > provider.registerServiceProvider("orion.navigate.openWith", serviceImpl, serviceProperties); > }());
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 349508
:
198054
| 198059