← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 34: Correct fix for bug 338615

 

------------------------------------------------------------
revno: 34
committer: Saptarshi <sunbiz@xxxxxxxxx>
branch nick: trunk
timestamp: Tue 2009-03-10 16:05:59 +0530
message:
  Correct fix for bug 338615
modified:
  dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/import.js

=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/import.js'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/import.js	2009-03-10 09:54:28 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/import.js	2009-03-10 10:35:59 +0000
@@ -5,8 +5,10 @@
 
 function submitImportForm()
 {
+    if(document.getElementById( "upload" ).value != ""){
 	setMessage( i18n_importing ); 
-	document.getElementById( "importForm" ).submit(); 
+	document.getElementById( "importForm" ).submit();
+    }
 }
 
 function showAdvancedOptions()



--

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.