{ "id": "61948", "key": "TIMOB-1316", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:50.000+0000", "created": "2011-04-15T02:49:12.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "ipad", "popover" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
for an ipad popover the left button cannot be set because it\npoints to the right button
\nTiUIiPadPopoverProxy.m line 112
\n-(void)setRightNavButton:(id)item withObject:(id)properties\n{
\n\nENSURE_SINGLE_ARG_OR_NIL(item,TiViewProxy);\n[self replaceValue:item forKey:@\"rightNavButton\" notification:NO];\n[self refreshTitleBarWithObject:properties];
\n
\n}
\n-(void)setLeftNavButton:(id)item withObject:(id)properties {
\n\nENSURE_SINGLE_ARG_OR_NIL(item,TiViewProxy);\n[self replaceValue:item forKey:@\"rightNavButton\" notification:NO];\n[self refreshTitleBarWithObject:properties];
\n
\n}
the solution is really simple
\nchange this code
\n-(void)setLeftNavButton:(id)item withObject:(id)properties {
\n\nENSURE_SINGLE_ARG_OR_NIL(item,TiViewProxy);\n[self replaceValue:item forKey:@\"rightNavButton\" notification:NO];\n[self refreshTitleBarWithObject:properties];
\n
\n}
\nto
\n-(void)setLeftNavButton:(id)item withObject:(id)properties {
\n\nENSURE_SINGLE_ARG_OR_NIL(item,TiViewProxy);\n[self replaceValue:item forKey:@\"leftNavButton\" notification:NO];\n[self refreshTitleBarWithObject:properties];
\n
\n}
Tamas says this is fixed. Please verify.
confirmed fixed in 1.4.1
\nvalid, needs testcase
(from [bbfceb47c73327e47089375e8f92ad9cac75361f])\n[#1316 state:resolved] added leftNav to popOver\n\nhttp://github.com/appcelerator/titanium_mobile/commit/bbfceb47c7332...