org.symbian.tools.wrttools.previewer/preview/script/nokia.js
changeset 279 2c8fd0932460
parent 277 7cca3bcacbc1
child 302 60453502674e
equal deleted inserted replaced
278:890be734ebec 279:2c8fd0932460
  1069 			NOKIA.helper.inspectorDailog = $("#InspectorTab").dialog({
  1069 			NOKIA.helper.inspectorDailog = $("#InspectorTab").dialog({
  1070 				width: 370,	minWidth: 300, minHeight: 200, height: 250, autoOpen: false, position : top, title : ' ',
  1070 				width: 370,	minWidth: 300, minHeight: 200, height: 250, autoOpen: false, position : top, title : ' ',
  1071 				buttons : {
  1071 				buttons : {
  1072 				"Close" : function(){
  1072 				"Close" : function(){
  1073 				$("#InspectorTab").dialog('close');
  1073 				$("#InspectorTab").dialog('close');
  1074 				
  1074 				},			
  1075 				//	Hack for Mac firefox
       
  1076 				if(/Mac/i.test(navigator.userAgent))
       
  1077 				{
       
  1078 					$("#WidgetArea iframe").css({overflow:'auto'});
       
  1079 				}
       
  1080 			},			
       
  1081 				"Disconnect Debugger" : function(){
  1075 				"Disconnect Debugger" : function(){
  1082 				$.ajax({url : "__sym_command/terminateDebug"});
  1076 				$.ajax({url : "__sym_command/terminateDebug"});
  1083 				$("#InspectorTab").dialog('close');
       
  1084 				
       
  1085 				//	Hack for Mac firefox
       
  1086 				if(/Mac/i.test(navigator.userAgent))
       
  1087 				{
       
  1088 					$("#WidgetArea iframe").css({overflow:'auto'});
       
  1089 				}
       
  1090 			}}
  1077 			}}
  1091 			});
  1078 			});
  1092 				
  1079 				
  1093 			$('#PreferencesBtn').click(function(){
  1080 			$('#PreferencesBtn').click(function(){
  1094 				//	Load preferences
  1081 				//	Load preferences