Skip to content

Commit

Permalink
Should use _getContents function to get the body
Browse files Browse the repository at this point in the history
  • Loading branch information
markdoten committed Jun 19, 2014
1 parent 419d1b6 commit 15980d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "streamhub-editor",
"version": "1.1.6",
"version": "1.1.7",
"main": [
"./src/editor.js"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Mark Doten",
"email": "mark@livefyre.com"
},
"version": "1.1.6",
"version": "1.1.7",
"dependencies": {
"bower": "*",
"mocha-phantomjs": "3.1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/javascript/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Editor.prototype._validate = function(data) {
*/
Editor.prototype.buildPostEventObj = function() {
var event = {};
event.body = this.$textareaEl.val();
event.body = this._getContents();
event.failure = $.proxy(this._handlePostFailure, this);
event.success = $.proxy(this._handlePostSuccess, this);
return event;
Expand Down

0 comments on commit 15980d8

Please sign in to comment.