Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1001210 - Hide start page before showing task manager r=kgrandon
Browse files Browse the repository at this point in the history
  • Loading branch information
daleharvey authored and KevinGrandon committed Apr 25, 2014
1 parent f4c81a9 commit eaaa33b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/system/js/rocketbar.js
Expand Up @@ -342,6 +342,11 @@ var Rocketbar = {
*/
showTaskManager: function() {
this.cardView = true;
if (this._port) {
this._port.postMessage({
action: 'showTaskManager'
});
}
this.showResults();
window.dispatchEvent(new CustomEvent('taskmanagershow'));
this.clear();
Expand Down Expand Up @@ -502,7 +507,8 @@ var Rocketbar = {
!this.onHomescreen) {
this.collapse();
}
if (dy > this.TASK_MANAGER_THRESHOLD && !this.active) {
if (dy > this.TASK_MANAGER_THRESHOLD &&
!this.active && !this.cardView) {
this.showTaskManager();
}
break;
Expand Down

0 comments on commit eaaa33b

Please sign in to comment.