Skip to content

Commit

Permalink
Merge remote-tracking branch 'jcjohn/master' which fixes refinery#1084
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Dec 13, 2011
2 parents d3e6437 + 9437b93 commit 6b9aa52
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1774,7 +1774,7 @@ WYMeditor.INIT_DIALOG = function(wym, selected, isIframe) {

var selected = selected || wym.selected();
var dialog = $("#"+wym._options.dialogId);
var doc = $((isIframe ? dialog.find('iframe').contents() : document));
var doc = $(dialog.find('iframe').contents());
var dialogType = dialog.find('#wym_dialog_type').val();
if (wym._selected_image) {
var replaceable = $(wym._selected_image);
Expand Down

0 comments on commit 6b9aa52

Please sign in to comment.