← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3236: Minor fix

 

------------------------------------------------------------
revno: 3236
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-03-31 16:09:51 +0200
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js	2011-01-31 08:47:19 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.js	2011-03-31 14:09:51 +0000
@@ -33,36 +33,7 @@
     {
         $( this ).attr( "src", "../images/hide.png" );
     } );
-    
-    // Resize UI in case of 800 x 600 screen
-
-    if( $( window ).width() <= 800 ) 
-    {
-        $( 'img#menuSeparator1').css('left','400px' );
-        $( 'img#menuSeparator2').css('left','490px' );
-        $( 'img#menuSeparator3').css('left','580px' );
-        $( 'img#menuSeparator4').css('left','670px' );
-        $( 'img#menuSeparator5').css('left','750px' );
-        $( 'div#menuLink1').css('left','398px' );
-        $( 'div#menuLink2').css('left','485px' );
-        $( 'div#menuLink3').css('left','580px' );
-        $( 'div#menuLink4').css('left','665px' );
-        $( 'div#menuDropDown1').css('left','400px' );
-        $( 'div#menuDropDown2').css('left','490px' );
-        $( 'div#menuDropDown3').css('left','580px' );
-
-        $( '#leftBar').css('width','175px' );
-        $( '#leftBarContents h2').css('margin-right','10px' );
-        $( '#leftBarContents h2').css('margin-left','10px' );
-        $( '#leftBarContents ul').css('margin-left','30px' );
-        $( '#leftBarContents img').css('margin-left','10px' );
-
-        $( '#orgUnitTree').css('width','172px' );
-
-        $( '#mainPage').css('margin-left','200px' );
-        $( 'div#orgUnitTree ul').css('margin-left','10px' );
-    }
-    
+        
     // Set dynamic back URLs for about page links
         
 	var currentPath = '../dhis-web-commons-about/';