Commit 4cca5efb43047ed90262398b82a68f58ff4fa737

Fix wrong data structure in JS for publishing sweets
  • Diff rendering mode:
  • inline
  • side by side

static/tree.js

167 $.ajax({167 $.ajax({
168 type: 'POST',168 type: 'POST',
169 url: config.indexer + '/submit',169 url: config.indexer + '/submit',
170 data: JSON.stringify(this.swts),
170 data: {'data': JSON.stringify(this.swts)},
171 success: function() {171 success: function() {
172 $.ajax({172 $.ajax({
173 type: 'POST',173 type: 'POST',