[TIMOB-13531] BlackBerry: Remove control is not working.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-07-26T04:00:37.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
| Components | BlackBerry |
| Labels | module_imageview, qe-closed-3.1.2, qe-testadded |
| Reporter | Russell McMahon |
| Assignee | Pedro Enrique |
| Created | 2013-04-11T22:31:21.000+0000 |
| Updated | 2014-06-19T12:44:34.000+0000 |
Description
table.addEventListener('click', function(e) {
scrollView.remove(view);
win2.remove(scrollView);
});
I think this already works let's verify and if still broken let's put more info and move to Sprint 16 or 17.
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/136
Test code
var win = Ti.UI.createWindow({ layout: 'vertical' }); var btn = Ti.UI.createButton({ top:10, title: 'Button' }); win.add(btn); var view = Ti.UI.createView({ top: 10, width: 100, height: 100, backgroundColor: 'green' }); win.add(view); var red = Ti.UI.createView({ backgroundColor: 'red', width: 100, height: 100, top: 10 }); win.add(red); btn.addEventListener('click', function(e){ win.remove(btn); win.remove(view); }); win.open();Verified working as expected (classic and Alloy projects). Titanium SDK 3.1.2.v20130808180613 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308071912 CLI 3.1.2-alpha Node 0.10.13 Closing.