org.symbian.tools.wrttools.previewer/preview/script/layout.js
changeset 417 dc5d845451fc
parent 416 461da1f79f43
child 428 9b6017f46095
--- a/org.symbian.tools.wrttools.previewer/preview/script/layout.js	Fri Jul 02 11:34:35 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/script/layout.js	Fri Jul 02 14:24:20 2010 -0700
@@ -18,6 +18,7 @@
 	this._consoleWindowHeight = 290;
 	this._consoleHeaderHeight = 31;
 	this._tabHeight = 27;
+	this.currentTab = 0;
 }
 
 EmulatorLayout.prototype.init = function() {
@@ -43,6 +44,9 @@
 };
 
 EmulatorLayout.prototype.log = function(type, msg) {
+	if (this.currentTab != 0 || this._console_minimized) {
+		$('#Console-Notification').show();
+	}
 	$("p#hint").hide();
 	var p = document.createElement('p');
 	p.className = type;