Project: titanium
Issue TIMOB-19130: Windows: Ti.UI.Window.remove() generates runtime error, view is not removed
The following example shows that you cannot remove a view on Windows: {code:javascript} var win = Ti.UI.createWindow(); var view = Ti.UI.createView({	top: 100,	width: 100,	height: 100,	backgroundColor: 'red' }); win.add(view); var btn = Ti.UI.createButton({	top: 300,	title: 'Click' }); btn.addEventListener('click', function (e) {	win.remove(view); }); win.add(btn); win.open(); {code} Log: {code} -- Start application log ----------------------------------------------------- [INFO] Finished launching the application [INFO] Waiting for app to connect to log relay [ERROR] Application Error: "Runtime Error during click event: undefined is not a function (evaluating 'win.remove(view)')" {code}
Story points: 3