1.0rc17 Fix blog feed default tip
authorivanl
Fri, 19 Mar 2010 11:03:38 +0000
changeset 21 f7a5a40d5bc4
parent 20 918767a9c8d3
1.0rc17 Fix blog feed
Symbian.org/Icon.png
Symbian.org/Main.js
Symbian.org/wrt_preview_frame.html
Binary file Symbian.org/Icon.png has changed
--- a/Symbian.org/Main.js	Tue Mar 09 10:34:58 2010 +0000
+++ b/Symbian.org/Main.js	Fri Mar 19 11:03:38 2010 +0000
@@ -24,7 +24,7 @@
 var symbianOrgBaseUrlSsl = "https://developer.symbian.org";
 var registrationURL = symbianOrgBaseUrl + "/main/user_profile/register.php";
 var blogFeedName = "Symbian Blog";
-var blogFeedUrl = "http://blog.symbian.org/feed/rss/";
+var blogFeedUrl = "http://blog.symbian.org/feed/";
 
 // FORUM vars and settings 
 var symbianOrgNewThreadUrl = symbianOrgBaseUrl+"/forum/newthread.php?";
@@ -51,7 +51,7 @@
 var wikiBaseUrl = symbianOrgBaseUrl+"/wiki/index.php";
 
 // Update variables
-var myversion = "1.0rc16";
+var myversion = "1.0rc17";
 var versionWikiPageUrl = wikiBaseUrl + "/Symbian.org_WRT_Widget";
 var versionWikiPageString = "Current widget version is [";
 var downloadUrl = symbianOrgBaseUrl + "/wiki/images/c/c5/Symbian.org.wgz";
@@ -380,23 +380,14 @@
 }
 
 function setDefaultFontSizeForScreenSize(){
-	// first check if there is a preference present
-    if (window.widget) {
-//		var saved = widget.preferenceForKey("fontsize");
-//		if ( widget.preferenceForKey("fontsize") ) {
-//			setCssBodyFontSize(parseInt(saved));
-//		}
-//		else {
-			// no preference available, check screen size
-			if (window.screen.width > 400 || window.screen.height > 400) {
-				// hi res screen, use large font
-				setLargeView();
-			}
-			else {
-				// lo res screen, use small font
-				setSmallView();
-			}
-//		}
+	// no preference available, check screen size
+	if (window.innerWidth > 400 || window.innerHeight > 400) {
+		// hi res screen, use large font
+		setLargeView();
+	}
+	else {
+		// lo res screen, use small font
+		setSmallView();
 	}
 }
 
--- a/Symbian.org/wrt_preview_frame.html	Tue Mar 09 10:34:58 2010 +0000
+++ b/Symbian.org/wrt_preview_frame.html	Fri Mar 19 11:03:38 2010 +0000
@@ -59,7 +59,9 @@
 						<option value="http://www.forum.nokia.com/devices/matrix_320x240_1.html">320x240</option>
 						<option value="http://www.forum.nokia.com/devices/matrix_360x640_1.html">360x640</option>
 						<option value="http://www.forum.nokia.com/devices/E90_Communicator">800x352</option>
-					</select>&nbsp; <a class="link" target="_blank" href="http://www.forum.nokia.com/devices/matrix_240x320_1.html" id="resSupportLink">Device matrix featuring this resolution</a>
+					</select>&nbsp; 
+					<a class="link" target="_blank" href="http://www.forum.nokia.com/devices/matrix_240x320_1.html" id="resSupportLink">Device matrix featuring this resolution</a>
+					<span id="dwDeviceHelp" class="hide" >See WRT Help for device specifications</span>
 				</td>
 			</tr>
 			<tr>