Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: ajaxorg/cloud9
base: 3f1b7d0378
...
head fork: ajaxorg/cloud9
compare: 5c11ac186c
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
4 client/ext/revisions/revisions.js
@@ -433,7 +433,7 @@ module.exports = ext.register("ext/revisions/revisions", {
revObj.revision = message.body
if (message.originalContent) {
- revObj.originalContent = message.originalContent;
+ revObj.originalContent = message.originalContent || "";
}
this.generateCache(revObj);
@@ -449,7 +449,7 @@ module.exports = ext.register("ext/revisions/revisions", {
return;
var revObj = this.$getRevisionObject(message.path);
- revObj.originalContent = message.body;
+ revObj.originalContent = message.body || "";
// If there is no further actions such as "preview" or "apply",
// we have nothing else to do here.
View
2  server/cloud9/ext/revisions/revisions.js
@@ -399,7 +399,7 @@ require("util").inherits(RevisionsPlugin, Plugin);
revObj.revisions.push(revision);
self.saveToDisk(path, callback);
- self.broadcastRevisions.call(self, revObj);
+ self.broadcastRevisions.call(self, revObj, null, { path: path });
});
};

No commit comments for this range

Something went wrong with that request. Please try again.