Browse files

Bug 826888 - Using load event instead localized when opening a Dialer…

… activity r=arcturus
  • Loading branch information...
1 parent fdd5c21 commit 3e2a669c061bc5cf97bb9b9ed71012d1788ed3a1 @albertopq albertopq committed with samjoch Jan 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/communications/dialer/js/dialer.js
View
4 apps/communications/dialer/js/dialer.js
@@ -38,8 +38,8 @@ var CallHandler = (function callHandler() {
if (document.readyState == 'complete') {
fillNumber();
} else {
- window.addEventListener('localized', function loadWait() {
- window.removeEventListener('localized', loadWait);
+ window.addEventListener('load', function loadWait() {
+ window.removeEventListener('load', loadWait);
fillNumber();
});
}

0 comments on commit 3e2a669

Please sign in to comment.