Skip to content

Commit

Permalink
Merge pull request #3683 from bryan-m-hughes/timob-10380-3_0_X
Browse files Browse the repository at this point in the history
[TIMOB-10380] Added check to make sure there is an active window on update
  • Loading branch information
cb1kenobi committed Jan 10, 2013
2 parents 8237bb6 + 5c7f542 commit f6b34fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion mobileweb/titanium/Ti/UI/MobileWeb/NavigationGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ define(['Ti/_/css', 'Ti/_/declare', 'Ti/UI/View', 'Ti/UI', 'Ti/_/lang'],
rightContainer = _self._rightContainer,
leftView,
centerView,
rightView = activeWin.rightNavButton;
rightView;

if (!activeWin) {
return;
}
rightView = activeWin.rightNavButton;

if (activeWin.leftNavButton) {
leftView = activeWin.leftNavButton;
Expand Down
7 changes: 3 additions & 4 deletions mobileweb/titanium/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -538,13 +538,12 @@
"Ti/UI"
],
"Ti/UI/ScrollableView": [
"Ti/_/browser",
"Ti/_/declare",
"Ti/_/UI/KineticScrollView",
"Ti/_/lang",
"Ti/UI/View",
"Ti/_/dom",
"Ti/_/style",
"Ti/UI"
"Ti/UI",
"Ti/_/browser"
],
"Ti/UI/ScrollView": [
"Ti/_/declare",
Expand Down

0 comments on commit f6b34fc

Please sign in to comment.