Skip to content

Commit

Permalink
TIMOB-6439: Android: Menu: Rhino/v8: Adding onCreateOptionsMenu after…
Browse files Browse the repository at this point in the history
… window creation does not work
  • Loading branch information
Allen Yeung committed Dec 2, 2011
1 parent d44b628 commit 7122b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/modules/ui/src/js/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ exports.bootstrapWindow = function(Titanium) {

// activity getter (account for scenario when heavy weight window's activity is not created yet)
var activityProxyGetter = function () {
if (this.currentState == this.state.open || this.currentState == this.state.opening) {
if (this.currentState == this.state.opened || this.currentState == this.state.opening) {
return this.window._internalActivity;
}

Expand Down

0 comments on commit 7122b61

Please sign in to comment.