Bug 2303 - Wrong information in web inspector pop-up
authorEugene Ostroukhov <eugeneo@symbian.org>
Thu, 18 Mar 2010 16:21:12 -0700
changeset 277 7cca3bcacbc1
parent 276 f2f4a1259de8
child 278 890be734ebec
Bug 2303 - Wrong information in web inspector pop-up
org.symbian.tools.wrttools.debug.core/icons/main16.gif
org.symbian.tools.wrttools.previewer/preview/css/style.css
org.symbian.tools.wrttools.previewer/preview/script/nokia.js
org.symbian.tools.wrttools.previewer/preview/wrt_preview.html
Binary file org.symbian.tools.wrttools.debug.core/icons/main16.gif has changed
--- a/org.symbian.tools.wrttools.previewer/preview/css/style.css	Thu Mar 18 11:56:59 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/css/style.css	Thu Mar 18 16:21:12 2010 -0700
@@ -24,6 +24,11 @@
 .hide{
 	display:none;
 }
+.shortcut{
+	display:none;
+	font-weight: bold;
+	color: gray;
+}
 .show{
 	display:block;
 }
--- a/org.symbian.tools.wrttools.previewer/preview/script/nokia.js	Thu Mar 18 11:56:59 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/script/nokia.js	Thu Mar 18 16:21:12 2010 -0700
@@ -614,6 +614,11 @@
 			if (/chrome/.test( navigator.userAgent.toLowerCase())) {
 				$("#InspectorBtn").show();
 			}
+			if (/mac/.test( navigator.userAgent.toLowerCase())) {
+				$("#MacShortcut").show();
+			} else {
+				$("#UniversalShortcut").show();
+			}
 		},
 		
 		setWidgetStyle : function()
--- a/org.symbian.tools.wrttools.previewer/preview/wrt_preview.html	Thu Mar 18 11:56:59 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/wrt_preview.html	Thu Mar 18 16:21:12 2010 -0700
@@ -213,7 +213,7 @@
 		<div>To open Web Inspector you need to:
 			<ol>
 				<li>Disconnect debugger from Chrome browser.</li>
-				<li>Press Ctrl+Shift+I to open inspector.</li>
+				<li>Press <span id="UniversalShortcut" class="shortcut">Ctrl+Shift+I</span><span id="MacShortcut" class="shortcut">Command+Option+I</span> to open inspector.</li>
 			</ol>
 		</div>
 	</div>