Skip to content

Commit

Permalink
Merge pull request #3733 from klikstermkd/3731-fix-embed-modal
Browse files Browse the repository at this point in the history
Fix embed modal not properly shown
  • Loading branch information
smotornyuk committed Aug 14, 2017
2 parents 25d09d4 + 75fc153 commit fe1f20e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/public/base/javascript/modules/resource-view-embed.js
Expand Up @@ -5,6 +5,7 @@ this.ckan.module('resource-view-embed', function ($) {
function initialize() {
self = this;
modal = $('#embed-'+this.options.id)
$('body').append(modal);
this.el.on('click', _onClick);
$('textarea', modal).on('focus', _selectAllCode).on('mouseup', _preventClick);
$('input', modal).on('keyup change', _updateValues);
Expand Down

0 comments on commit fe1f20e

Please sign in to comment.