Skip to content

Commit

Permalink
Ensure that the HTML is up to date before scanning it as new text may…
Browse files Browse the repository at this point in the history
… have been entered and jQuery may not know about it yet. (ht: markoh)
  • Loading branch information
parndt committed Sep 16, 2010
1 parent fcb24d0 commit fc840af
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1212,6 +1212,7 @@ WYMeditor.editor.prototype.update = function() {
* @description Opens a dialog box
*/
WYMeditor.editor.prototype.dialog = function( dialogType ) {
this.update();
var path = this._wym._options.dialogPath + dialogType;

this._current_unique_stamp = this.uniqueStamp();
Expand Down

0 comments on commit fc840af

Please sign in to comment.