Skip to content

Commit

Permalink
Removing debug line and extra set on html
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbolt committed May 13, 2021
1 parent eb700ae commit 9602bc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion modules/Components/src/client/ACASFormFields.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,6 @@ class ACASFormLSBlobValueFieldController extends ACASFormLSFileValueFieldControl
# so always be falsey here but leaving this in place
if false and @displayInline and @mimeType?
@$('.bv_file').html '<img src="data:' + @mimeType + ';base64,'+@arrayToBase64String(fileValue)+'" alt="'+ displayText+'">'
@$('.bv_file').html '<img src="/api/thingvalues/downloadThingBlobValueByID/'+id+'" alt="'+ displayText+'">'
else
@$('.bv_file').html '<a href="/api/thingvalues/downloadThingBlobValueByID/'+id+'">'+displayText+'</a>'
@$('.bv_deleteSavedFile').show()
Expand Down
1 change: 0 additions & 1 deletion modules/ServerAPI/src/server/routes/FileServices.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ setupRoutes = (app, loginRoutes, requireLogin) ->
files.push(outfile)
resp.json {"files": files}
catch err
console.error("AAAAAND")
console.error(err)
resp.send(err)

Expand Down

0 comments on commit 9602bc3

Please sign in to comment.