diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 64f59853..1fadd415 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 832ada24..448da0e7 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'