Merge pull request #62 from dram/update-focus-fix

Use break to avoid uncaught exception in View.updateFocus
This commit is contained in:
Jürg Lehni 2011-12-10 11:08:03 -08:00
commit a76d47fcf1

View file

@ -432,7 +432,7 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
var view = View._views[i];
if (view && view.isVisible()) {
View._focused = tempFocus = view;
throw Base.stop;
break;
}
}
}