I am developing an AngularJS web app. We are transitioning from php. There is a part in this app where there is a list of people and an "add person" button. if you click on someone the app should take you to a prefilled form. if you choose to add someone new then it takes you to the same empty form. in the form theres an option where you can click a magnifying glass, select a person and fill out all the info. this was all done with javascript (window.opener) using parent and child windows.
Heres the tricky part. I have developed the form in angularjs and stripped all php from it. i fixed it to where when you click on the magnifying glass it would open the .php list of people in a new window. I created 2 javascript functions. a "getValueFromChild" in the parent window and a "sendValueToParent" in the child window which is the php file. but everytime i run it, it opens the window. and when i click on someone so it can call the sendvaluetoparent function firefox gives me an error Error: Permission denied to access property 'GetValueFromChild' [Break On This Error] self.opener.GetValueFromChild(ptid); _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform