You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/04/17 13:22:33 UTC
svn commit: r765950 - in
/lenya/contributions/2_0_X/modules/firedocs/src/extension/chrome/content:
LenyaOverlayManager.js browser/LenyaEditorButtonPopupShowingListener.js
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);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org