Hi there in my app.js I have a splitView with a masterWindow and detailWindow
in the masterWindow (left column) I have a table view with a list of rss feeds. When I click on one of the rows it displays the rss feed. The code for the rss display is in another .js file.
When trying to target the detailWindow from that .js file I get an error:
> message = "Can't find variable: detailWindow";
Can anyone advise how we target a window (or SplitView window) when called from another js file
If this doesn't make sense I can provide code, but thought I'd explain it better.
You can always pass a variable to a window by assigning a variable to the window like this:
win.somevar = somevalue;
then read it from the external js.
I think you might have an issue with the scope of the variables, once the detailView is not found, or you are trying to access detailWindow in a wrong way. Post some code.