From be92126d22b38a8b21895de9223ac0cab4f68594 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 19 Feb 2014 11:32:04 +0530 Subject: [PATCH] update embed dialog --- static/js/embedDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } })