diff -r f943a50b6689 -r ba20dd5983c7 org.symbian.tools.wrttools.previewer/preview/script/helper.js --- a/org.symbian.tools.wrttools.previewer/preview/script/helper.js Tue Jun 29 13:44:16 2010 -0700 +++ b/org.symbian.tools.wrttools.previewer/preview/script/helper.js Tue Jun 29 17:21:51 2010 -0700 @@ -241,16 +241,6 @@ return NOKIA.emulator.prefs[name]; }; -EmulatorHelper.prototype.rotateCW = function() { - var newOrient = NOKIA.orientation + 90; - NOKIA.emulator.toggle(newOrient - (newOrient > 180 ? 360 : 0)); -}; - -EmulatorHelper.prototype.rotateCCW = function() { - var newOrient = NOKIA.orientation - 90; - NOKIA.emulator.toggle(newOrient + (newOrient <= -180 ? 360 : 0)); -}; - EmulatorHelper.prototype.version = function(ele) { if (confirm('Would you like to reload the widget to apply the changes on the Version settings?')) { NOKIA.helper.setPreference('__SYM_WRT_VERSION', ele.value); @@ -304,13 +294,6 @@ }); } }); - - $('#rotateCW').click(function() { - NOKIA.helper.rotateCW(); - }); - $('#rotateCCW').click(function() { - NOKIA.helper.rotateCCW(); - }); $('#resOptions').change( function(ele) { ele = ele.target || this; @@ -341,12 +324,6 @@ NOKIA.helper.version(this); }); - $("#orientationIcon").click(function() { - var mode = (NOKIA.mode == 'portrait') ? 'landscape' : 'portrait'; - NOKIA.emulator.setMode(mode); - $("#WidgetArea")[0].className = 'hs_' + NOKIA.mode; - }); - $("#iframeMask").click(function() { $("#orientationIcon").hide(); $("#iframeMask").hide(); @@ -358,7 +335,6 @@ NOKIA.menu.softkeys_visibility = true; NOKIA.menu.showSoftKeys(); - }); // MenuItems DIV events