← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 82: Removed check for import upload file. Not all import types use files, eg. DHIS 1.4 file import.

 

------------------------------------------------------------
revno: 82
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Wed 2009-03-18 17:58:55 +0100
message:
  Removed check for import upload file. Not all import types use files, eg. DHIS 1.4 file import.
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 10:35:59 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/import.js	2009-03-18 16:58:55 +0000
@@ -5,10 +5,8 @@
 
 function submitImportForm()
 {
-    if(document.getElementById( "upload" ).value != ""){
-	setMessage( i18n_importing ); 
+    setMessage( i18n_importing ); 
 	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.