From 6a8139c9d41c4bc6b1ea0a1b29aee9ad7f28f161 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 18 Dec 2014 13:55:45 +0000 Subject: [PATCH] update api dialog --- static/js/apiDialog.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index b04eb0600..926715b27 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -226,9 +226,8 @@ pandora.ui.apiDialog = function() { var code = actions[id].code[1], source = actions[id].code[0], line = Math.round(Ox.last(source.split(':')) || 0), - $code, $doc; - $doc = getDoc(id) - .appendTo($text); + $code, + $doc = getDoc(actions[id]).appendTo($text); $('
') .html('
' + source + '') .appendTo($text);