Fixing issue with addEventListener and Sencha

This commit is contained in:
macdonst 2010-11-09 21:47:07 +08:00
parent 48d3bc09f3
commit e117b95057

View File

@ -286,7 +286,7 @@ document.addEventListener = function(evt, handler, capture) {
} else if (e == 'pause') {
PhoneGap.onPause.subscribe(handler);
} else {
PhoneGap.m_document_addEventListener.call(document, evt, handler);
PhoneGap.m_document_addEventListener.call(document, evt, handler, capture);
}
};