[TIMOB-1006] Variables shared with currentWindow are readonly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:41:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | Android |
Labels | android, currentwindow, defect |
Reporter | Konstantin |
Assignee | Blain Hamon |
Created | 2011-04-15T02:41:22.000+0000 |
Updated | 2017-03-02T18:41:50.000+0000 |
Description
Platform 1.3.0 OS MacOSX/WinXP, iPhone emulator 3.1.3, android emulator 2.1
Both platforms are affected. In app.js I have variable "a"
shared with other children windows using Titanium.UI.currentWindow
method. The problem is I can't modify value of this property in one
child window and access this value in other. Different tricks
like
var a = {
b = '';
}
Titanium.UI.currentWindow.a.b = 'Some value';
also don't work. This issue together with bug #1005 makes
Titanium on Android unusable, I can't find a way to pass data from
one window to another
Use properties for now when possible. This is a duplicate of #915
Closing as invalid.