← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5467: Show details - Fixed GUI problem.

 

------------------------------------------------------------
revno: 5467
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-12-19 14:37:29 +0700
message:
  Show details - Fixed GUI problem.
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.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/dhis-web-commons/css/widgets.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css	2011-09-14 08:33:26 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css	2011-12-19 07:37:29 +0000
@@ -301,7 +301,9 @@
   background-color: #dadaff;
   position: fixed;
   width: 18em;
+  max-height: 75%;
   padding: 0.5em;
+  overflow: auto;
 }
 
 div#detailsArea label 

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2011-12-15 04:34:45 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2011-12-19 07:37:29 +0000
@@ -630,10 +630,7 @@
  */
 function showDetails()
 {
-    $( '#detailsArea' )
-	.css( "height", "75%" )
-	.css( "overflow", "auto" )
-	.show( "fast" );
+    $( '#detailsArea' ).show( "fast" );
 }
 
 /**