Quote:
Originally Posted by JohnnyChimpo
Thanks, i havent implemented to see if that works yet but i will. I have another question, would it be reasonable to declare these variables as global considering the situation, instead of making two sets of the same thing. Eventually im going to just make one object out of them, because i was having trouble figuring out why i couldnt pass objects in triggers but it was cleared up by fp4 i think. That is insanely important and im kinda upset its not in any documentation.
|
Not sure what you mean by global variables.
What are you trying to make? Some kind of text editor for po files?
Also note that this isn't doing what you think it is:
PHP Code:
this.fileArray.lines ={null};
That's creating an array with one element, null. You want just
PHP Code:
this.fileArray.lines = {}; // or null, but not both