From f38d3441a0e7d8060c34d3ceda99e3261ffe5e7b Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 18 Dec 2014 13:40:41 +0000 Subject: [PATCH] typo --- pandora/archive/views.py | 2 +- static/js/apiDialog.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 64f598538..1fadd4156 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -333,7 +333,7 @@ def taskStatus(request, data): status: string, // status, 'PENDING' or 'OK' result: object // result data } - note: To be deprecated, will be wrapped in regular API call + notes: To be deprecated, will be wrapped in regular API call ''' #FIXME: should check if user has permissions to get status if 'taskId' in data: diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index 832ada249..448da0e79 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -128,7 +128,6 @@ pandora.ui.apiDialog = function() { notes: Notes see: action, action, ... */ - string = ; var $doc = Ox.SyntaxHighlighter({ source: string.replace( /\n(?=(takes \{|returns \{|note: |see: ))/g, '\n\n'