languagetool-org / languagetool-website-2018

OUTDATED, do not use anymore
12 stars 11 forks source link

"Examples..." item from menu is not working #5

Closed danielnaber closed 6 years ago

danielnaber commented 6 years ago

Click on an error: most of them have an "Examples..." item. However, nothing happens. Maybe it's just the library which is missing.

danielnaber commented 6 years ago

Maybe this is the same issue: paste text with an error into the main textarea, select a correction -> ReferenceError: vex is not defined on console and thus the dialog that should popup doesn't appear.

nickchamel commented 6 years ago

@danielnaber you mean the popup that falls if you click on the word with an error? I added Vex library to the project - it works now. Btw this code (vex) is missing on production. Please check

danielnaber commented 6 years ago

Go to http://127.0.0.1:8000/de/, click and error and select "Examples..." form the menu (maybe your browser needs to be set to German for that). Nothing happens, the dialog doesn't appear. No error on console.

danielnaber commented 6 years ago

I see the problem is not in the frontend - I'll fix the backend part.

danielnaber commented 6 years ago

Fixed, only the close button of the dialog is messed up for some reason. Could you have a look at that?

nickchamel commented 6 years ago

@danielnaber I fixed the close button. Btw i didn't have the "examples" in menu because of this code in editir_plugin2.js

screen shot 2018-04-15 at 21 51 52

Because for me address is localhost. Please note that this feature will only work under certain conditions.