diff --git a/static/js/embedDialog.js b/static/js/embedDialog.js index 373711e1..de118d00 100644 --- a/static/js/embedDialog.js +++ b/static/js/embedDialog.js @@ -168,7 +168,7 @@ pandora.ui.embedDialog = function(/*[url, ]callback*/) { }) .bindEvent({ click: function() { - callback($input.url.options('value')); + callback && callback($input.html.options('value')); that.close(); } })