dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23840
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11614: Dashboard, avoid unwanted items to be droppable
------------------------------------------------------------
revno: 11614
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-08-08 12:00:00 +0200
message:
Dashboard, avoid unwanted items to be droppable
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-08-08 09:55:11 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2013-08-08 10:00:00 +0000
@@ -78,6 +78,7 @@
} );
$( ".item" ).droppable( {
+ accept: ".item",
over: dhis2.db.dropOver,
out: dhis2.db.dropOut
} );
@@ -88,6 +89,7 @@
} );
$( ".lastDropItem" ).droppable( {
+ accept: ".item",
over: dhis2.db.lastDropOver,
out: dhis2.db.lastDropOut
} );