From 3bafe6ae04a745a9c2285064906ec7e677d7bfcb Mon Sep 17 00:00:00 2001 From: Hieu Pham Date: Tue, 24 Jan 2012 15:49:11 -0800 Subject: [PATCH] timob-1827: delete extra fireEvent on "close" --- android/modules/ui/src/js/window.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android/modules/ui/src/js/window.js b/android/modules/ui/src/js/window.js index 794f26043fd..42ef7aef192 100644 --- a/android/modules/ui/src/js/window.js +++ b/android/modules/ui/src/js/window.js @@ -334,10 +334,6 @@ exports.bootstrapWindow = function(Titanium) { if (this.isActivity) { var self = this; - this.window.on("close", function () { - self.fireEvent("close"); - }); - this.window.close(options); this.currentState = this.state.closed;