From 83f4ec95704369b95c5c309c35e7d48fecd411e3 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 18 Dec 2014 12:09:46 +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 0f846c81..4225665c 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -178,11 +178,10 @@ pandora.ui.apiDialog = function() { }) .appendTo($text); $('
') - .html('
' + source.split(':')[0] + '') + .html('
' + source + '') .appendTo($text); $code = Ox.SyntaxHighlighter({ - showLineNumbers: true, - source: code.replace(/\s*?'''[\s\S]+?'''\n/g, ''), + source: code.replace(/\s*?'''[\s\S]+?'''/g, ''), offset: line }) .css({