------------------------------------------------------------ revno: 2296 committer: Tran Chau <tran.hispviet...@gmail.com> branch nick: trunk timestamp: Fri 2010-10-01 16:41:19 +0700 message: Minor fix. modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/program.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-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/program.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/program.js 2010-10-01 08:45:05 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/program.js 2010-10-01 09:41:19 +0000 @@ -29,37 +29,6 @@ removeItem( programId, name, i18n_confirm_delete, 'removeProgram.action' ); } -/* function removeProgram( programId, name ) -{ - var result = window.confirm( i18n_confirm_delete + '\n\n' + name ); - - if ( result ) - { - var request = new Request(); - request.setResponseTypeXML( 'message' ); - request.setCallbackSuccess( removeProgramCompleted ); - window.location.href = 'removeProgram.action?id=' + programId; - } -} - -function removeProgramCompleted( messageElement ) -{ - var type = messageElement.getAttribute( 'type' ); - var message = messageElement.firstChild.nodeValue; - - if ( type == 'success' ) - { - window.location.href = 'program.action'; - } - else if ( type = 'error' ) - { - setInnerHTML( 'warningField', message ); - - showWarning(); - } -} -*/ - // ----------------------------------------------------------------------------- // Criteria association // -----------------------------------------------------------------------------
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp