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

Commit

Permalink
Merge pull request #21862 from lodr/bug-1039984-smartcollections-and-…
Browse files Browse the repository at this point in the history
…homescreen

Bug 1039984 - [System] Trying to open a smartcollection after killing th...
  • Loading branch information
delapuente authored and rvandermeulen committed Jul 22, 2014
1 parent 579a8c8 commit 382dc87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion apps/system/js/app_window.js
Expand Up @@ -388,7 +388,9 @@
return;
}

this._killed = true;
if (!this.isHomescreen) {
this._killed = true;
}

if (DEBUG) {
AppWindow[this.instanceID] = null;
Expand Down
5 changes: 0 additions & 5 deletions apps/system/js/homescreen_window.js
Expand Up @@ -156,11 +156,6 @@
}
};

HomescreenWindow.prototype.kill = function hw_kill() {
this.destroy();
this.publish('terminated');
};

HomescreenWindow.prototype.view = function hw_view() {
return '<div class="appWindow homescreen" id="homescreen">' +
'<div class="fade-overlay"></div>' +
Expand Down

0 comments on commit 382dc87

Please sign in to comment.