update api dialog

This commit is contained in:
rolux 2014-12-18 13:55:45 +00:00
parent e2010a3350
commit 6a8139c9d4

View file

@ -226,9 +226,8 @@ pandora.ui.apiDialog = function() {
var code = actions[id].code[1], var code = actions[id].code[1],
source = actions[id].code[0], source = actions[id].code[0],
line = Math.round(Ox.last(source.split(':')) || 0), line = Math.round(Ox.last(source.split(':')) || 0),
$code, $doc; $code,
$doc = getDoc(id) $doc = getDoc(actions[id]).appendTo($text);
.appendTo($text);
$('<div>') $('<div>')
.html('<br><b><tt>' + source + '</tt></b>') .html('<br><b><tt>' + source + '</tt></b>')
.appendTo($text); .appendTo($text);