pandion
pandion copied to clipboard
Fixed 'Access Denied' when user selects emoticon from palette
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.
@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:
@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.
@sebdeckers: It is possible to add me owner of the project?
There are some people who would like add improvements...
@eduardocalazansjr Please submit your PR at https://github.com/pandion-ng/pandion-ng