dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33202
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16938: Fixed bug where dropdown menu position wouldn't update relative to sidebar
------------------------------------------------------------
revno: 16938
committer: Halvdan Hoem Grelland <halvdanhg@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-10-02 16:41:11 +0200
message:
Fixed bug where dropdown menu position wouldn't update relative to sidebar
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.dhisCheckboxMenu.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/javascripts/jQuery/jquery.dhisCheckboxMenu.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.dhisCheckboxMenu.js 2014-09-22 15:24:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/jQuery/jquery.dhisCheckboxMenu.js 2014-10-02 14:41:11 +0000
@@ -102,12 +102,7 @@
var $menu = $( this ).find( "ul" );
$menu.addClass( options.menuClass );
- $menu.css( "visibility", "hidden" );
- $menu.position({
- my: "left top",
- at: "left bottom",
- of: $button
- });
+ $menu.css( { "visibility" : "hidden", "margin-top" : "6px" } );
$button.click( function ( event ) {
$( document ).one( "click", function() {