Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10542] BlackBerry: Titanium.UI.Window modal property is not working (API docs mention done)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-07-26T02:36:20.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 13, 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsn/a
ReporterHayk Zakaryan
AssigneePedro Enrique
Created2012-08-22T00:33:23.000+0000
Updated2013-08-09T23:07:15.000+0000

Description

Comments

  1. Pedro Enrique 2013-06-18

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/109
  2. Priya Agarwal 2013-07-22

    Reopening. Verified with Environment: Studio: 3.1.2.201307191853 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261) Blackberry SDK: 10.1.0.1020 Code used is: for app.js
       var win = Ti.UI.createWindow({
           title:'Test',
           modal:true
       });
        
       var button = Ti.UI.createButton({
           title:'Click This Button',
           top: 50,
           width:Ti.UI.SIZE,
           height:Ti.UI.SIZE
        
       });
        
       button.addEventListener('click',function(e){
           e.source.title=win.getModal();    
       });
        
       win.add(button);
       win.open();
       
    On clicking button Window's getModal property's must return boolean value. But for blackberry it is not returning anything just gives studio console error mentioned below. Getting Studio console error as: TypeError: Object [object Object] has no method 'getModal'
  3. Pedro Enrique 2013-07-26

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/135
  4. Lokesh Choudhary 2013-08-09

    verified the fix. Running the code mentioned in the comment it returns a boolean value : true. Thus closing. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130808180613 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88

JSON Source