dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28734
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14383: Applied patch from Pooben. Fixes bug with remove section ui function
------------------------------------------------------------
revno: 14383
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-03-24 23:47:00 +0100
message:
Applied patch from Pooben. Fixes bug with remove section ui function
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.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-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.js 2013-12-04 11:47:33 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.js 2014-03-24 22:47:00 +0000
@@ -41,9 +41,9 @@
window.location.href = "section.action?dataSetId=" + dataSetId;
}
-function removeSection(sectionId, sectionName)
+function removeSection( context )
{
- removeItem( sectionId, sectionName, i18n_confirm_delete, "removeSection.action" );
+ removeItem( context.id, context.name, i18n_confirm_delete, "removeSection.action" );
}
function addSectionSubmit()