Added postback key to files.

This commit is contained in:
Winston Li 2014-12-04 23:18:32 +00:00
parent df751500c5
commit 28e0d8cd42

View file

@ -52,7 +52,7 @@ public class WLDirectoryNodeSnapshot implements CandidateSnapshot {
JsonObject file = new JsonObject(); JsonObject file = new JsonObject();
file.addProperty("name", fileNode.getFilePath()); file.addProperty("name", fileNode.getFilePath());
if (fileNode.isChanged()) { if (fileNode.isChanged()) {
file.addProperty("url", projectURL + "/" + fileNode.getFilePath()); file.addProperty("url", projectURL + "/" + fileNode.getFilePath() + "?key=" + postbackKey);
} }
return file; return file;
} }