------------------------------------------------------------
revno: 11572
committer: Lars Helge Ă˜verland <[email protected]>
branch nick: dhis2
timestamp: Mon 2013-08-05 16:35:21 +0200
message:
Minor
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 2013-07-26 09:11:34 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2013-08-05 14:35:21 +0000
@@ -67,6 +67,7 @@
{
$( ".item" ).draggable( {
containment: "#contentDiv",
+ helper: "clone",
stack: ".item",
revert: true,
start: dhis2.db.dragStart,
@@ -86,12 +87,14 @@
dhis2.db.dragStart = function( event, ui ) {
$( this ).css( "opacity", "0.6" );
+ $( this ).hide();
dhis2.db.currentItem = $( this ).attr( "id" );
dhis2.db.currentItemPos = $( this ).data( "position" );
}
dhis2.db.dragStop = function( event, ui ) {
$( this ).css( "opacity", "1.0" );
+ $( this ).show();
$( ".dropItem" ).hide();
dhis2.db.currentItem = undefined;
}
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp