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],
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);
$('<div>')
.html('<br><b><tt>' + source + '</tt></b>')
.appendTo($text);