From 622c9c0aabea3d2b14e7fd52a08f6471f5223b7e Mon Sep 17 00:00:00 2001 From: Skye Schneider Date: Tue, 24 Jul 2012 14:00:06 -0400 Subject: [PATCH] Remove rotate funtion call --- Resources/js/views/PortalWindowView.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Resources/js/views/PortalWindowView.js b/Resources/js/views/PortalWindowView.js index bb9c890..7f56d5c 100644 --- a/Resources/js/views/PortalWindowView.js +++ b/Resources/js/views/PortalWindowView.js @@ -86,17 +86,12 @@ exports.close = function () { portletCollectionView.close(); }; -exports.rotateView = function (orientation) { - portletCollectionView && portletCollectionView.rotate(orientation, notificationsView.currentState() === notificationsView.states['HIDDEN'] ? false : true); -}; - function _drawUI (_isGuestLayout, _isPortalReachable) { Ti.API.debug('_drawUI() in PortalWindowView. _isGuestLayout: '+_isGuestLayout+', _isPortalReachable: '+_isPortalReachable); // This method should only be concerned with drawing the UI, not with any other logic. Leave that to the caller. if (getState() !== exports.states['INITIALIZED']) { exports.updateLayout(_isPortalReachable, _isGuestLayout); - exports.rotateView(); return; } @@ -270,4 +265,4 @@ function _onPortalGridViewStateChange (e) { } }; -setState(exports.states['INITIALIZED']); \ No newline at end of file +setState(exports.states['INITIALIZED']);