pandion icon indicating copy to clipboard operation
pandion copied to clipboard

Fixed 'Access Denied' when user selects emoticon from palette

Open eduardocalazansjr opened this issue 8 years ago • 4 comments

When user select an emoticon from the palette, the function ChoseEmoticons() try to getn an window.parent element, causing an 'Access Denied' error (Cross domain policy)

window.parent in this scenario is wrong, since the palette is in the same document, so you can just use 'document' without any side-effects.

eduardocalazansjr avatar Nov 13 '15 13:11 eduardocalazansjr

@vlntdds Thanks for this PR on ancient code. Sadly I have no way of running or testing this application anymore.

Are you still using Pandion? I'm curious why... it's so old. :blush:

sebdeckers avatar Nov 13 '15 13:11 sebdeckers

@cbas The application still runs perfectly, just found this little bug with the cross domain requests on the emoticons pallete.

Here in my country (Brazil) Pandion is a very popular application for internal communication. I think that it's my 3rd job that they use Pandion for this purpose.

eduardocalazansjr avatar Nov 13 '15 13:11 eduardocalazansjr

@sebdeckers: It is possible to add me owner of the project?

There are some people who would like add improvements...

Neustradamus avatar Oct 30 '21 20:10 Neustradamus

@eduardocalazansjr Please submit your PR at https://github.com/pandion-ng/pandion-ng

GreenLunar avatar Mar 29 '22 04:03 GreenLunar