Skip to content

Commit

Permalink
Find some otherwise lost changes from CodeMirror (Fixes #524)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed May 15, 2013
1 parent 54407da commit b2a5c3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/http/public/towtruck/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,17 @@ define(["jquery", "util", "session", "elementFinder", "eventMaker"], function ($
return;
}
delete change.origin;
var next = change.next;
delete change.next;
session.send({
type: "form-update",
tracker: this.trackerName,
element: elementFinder.elementLocation(this.element),
change: change
});
if (next) {
this._change(editor, next);
}
},

_editor: function () {
Expand Down

0 comments on commit b2a5c3a

Please sign in to comment.