dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31613
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16142: Code style
------------------------------------------------------------
revno: 16142
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-07-15 22:49:30 +0200
message:
Code style
modified:
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.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-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2014-07-13 18:46:24 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2014-07-15 20:49:30 +0000
@@ -29,8 +29,6 @@
// TODO support table as link and embedded
// TODO double horizontal size
-// TODO dashboard list horizontal scroll
-// TODO report type in link
//------------------------------------------------------------------------------
// Document ready
@@ -162,11 +160,13 @@
$( this ).removeClass( "blankDropItem" ).css( "display", "block" );
}
-dhis2.db.lastDropOut = function( event, ui ) {
+dhis2.db.lastDropOut = function( event, ui )
+{
$( this ).addClass( "blankDropItem" );
}
-dhis2.db.dropItem = function( event, ui ) {
+dhis2.db.dropItem = function( event, ui )
+{
var destItemId = $( this ).data( "item" );
var position = dhis2.db.getIndex( destItemId );