--- a/emailuis/emailui/src/FreestyleEmailUiHtmlViewerContainer.cpp Wed Jun 09 09:22:57 2010 +0300
+++ b/emailuis/emailui/src/FreestyleEmailUiHtmlViewerContainer.cpp Mon Jun 21 15:20:54 2010 +0300
@@ -677,8 +677,14 @@
emailHtmlFile.Append( KMessageHtmlRTLFile );
}
- CreateBrowserControlInterfaceL();
-
+ // If scroll position is not to be reset, re-creation of browser control
+ // interface object is skipped (we're just reloading the page with new
+ // content)
+ if ( aResetScrollPos )
+ {
+ CreateBrowserControlInterfaceL();
+ }
+
LoadContentFromFileL( emailHtmlFile );
UpdateOverlayButtons( ETrue );