← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2705: fixed: javascript error when use removeItem function to delete object

 

------------------------------------------------------------
revno: 2705
committer: Tri <Tri@Tri-Laptop>
branch nick: dhis2
timestamp: Fri 2011-01-21 20:26:42 +0700
message:
  fixed: javascript error when use removeItem function to delete object
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.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-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2011-01-21 12:44:09 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2011-01-21 13:26:42 +0000
@@ -738,6 +738,8 @@
     
     if ( result )
     {
+
+		setHeaderWaitMessage( i18n_process );
     	$.postJSON(
     	    action,
     	    {
@@ -760,6 +762,7 @@
     	    	{ 
 					showWarningMessage( json.message );
     	    	}
+				hideHeaderMessage();
     	    }
     	);
     }