Author: andreas
Date: Fri Apr 17 11:22:33 2009
New Revision: 765950
URL: http://svn.apache.org/viewvc?rev=765950&view=rev
Log:
Allow to edit forrest documents with the firedocs extension.
Modified:
lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/LenyaOverlayManager.js
lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/browser/LenyaEditorButtonPopupShowingListener.js
Modified: lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/LenyaOverlayManager.js
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/LenyaOverlayManager.js?rev=765950&r1=765949&r2=765950&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/LenyaOverlayManager.js (original)
+++ lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/LenyaOverlayManager.js Fri Apr 17 11:22:33 2009
@@ -56,6 +56,7 @@
switch(aContentType) {
case "application/lenya-links+xml":
+ case "application/forrest+xml":
this.addEditorToWorkspace();
Modified: lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/browser/LenyaEditorButtonPopupShowingListener.js
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/browser/LenyaEditorButtonPopupShowingListener.js?rev=765950&r1=765949&r2=765950&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/browser/LenyaEditorButtonPopupShowingListener.js (original)
+++ lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content/browser/LenyaEditorButtonPopupShowingListener.js Fri Apr 17 11:22:33 2009
@@ -38,7 +38,7 @@
var helper = new FiredocsAtomPubHelper();
var mimeType = helper.getEditMediaMimeType(atomServiceDocument.documentElement);
- if (mimeType == "application/lenya-links+xml") {
+ if (mimeType == "application/lenya-links+xml" || mimeType == "application/forrest+xml") {
goSetCommandEnabled("cmd_firedocsEditCurrentPage", true);
}
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.