Skip to content

Commit

Permalink
Save on form submit.
Browse files Browse the repository at this point in the history
  • Loading branch information
issackelly committed Mar 16, 2011
1 parent 0b97b00 commit 9e9c55d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions servee/wysiwyg/tinymce/static/servee/wysiwyg/js/tinymce.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ function load_wysiwyg($par){
});
}
});
$par.submit(function(e){
for (edId in tinyMCE.editors) {
tinyMCE.editors[edId].save();
}
});
}

function srv_wysiwyg_insert_html_at_cursor(h){
Expand Down

0 comments on commit 9e9c55d

Please sign in to comment.