Bug 964454 - Correct ReferenceError 'panel' in Home.jsm. r=margaret
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 28 Jan 2014 10:36:11 -0800
changeset 165642 ce50a0cdc32904f2a87413868e4923951a6c431d
parent 165641 e6012841cb57f8081d960b394cc59697028e7362
child 165643 d61e7d073cda0c634d881fe6c23e6d0bdd92855f
push id4631
push usermichael.l.comella@gmail.com
push dateTue, 28 Jan 2014 23:43:47 +0000
treeherderfx-team@ce50a0cdc329 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs964454
milestone29.0a1
Bug 964454 - Correct ReferenceError 'panel' in Home.jsm. r=margaret
mobile/android/modules/Home.jsm
--- a/mobile/android/modules/Home.jsm
+++ b/mobile/android/modules/Home.jsm
@@ -212,17 +212,17 @@ let HomePanels = {
     this._panels[panel.id] = panel;
   },
 
   remove: function(id) {
     delete this._panels[id];
 
     sendMessageToJava({
       type: "HomePanels:Remove",
-      id: panel.id
+      id: id
     });
   },
 
   // Helper function used to see if a value is in an object.
   _valueExists: function(obj, value) {
     for (let key in obj) {
       if (obj[key] == value) {
         return true;