← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16020: Removed commented code

 

------------------------------------------------------------
revno: 16020
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-07-08 15:51:30 +0200
message:
  Removed commented code
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2014-07-07 09:40:36 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2014-07-08 13:51:30 +0000
@@ -725,7 +725,7 @@
 		return span.text();
 	}
 
-  console.log( 'Data element not present in form, falling back to default name: ' + dataElementId );
+    console.log( 'Data element not present in form, falling back to default name: ' + dataElementId );
 	return DEFAULT_NAME;
 }
 
@@ -738,7 +738,7 @@
 		return span.text();
 	}
 
-  console.log( 'Category option combo not present in form, falling back to default name: ' + optionComboId );
+    console.log( 'Category option combo not present in form, falling back to default name: ' + optionComboId );
 	return DEFAULT_NAME;
 }
 
@@ -1966,15 +1966,9 @@
             }
         } );
 
-        console.log( 'should delete: ', keys );
+        console.log( 'Removing forms: ', keys );
         def.resolve();
 
-        /*
-        DAO.store.removeAll( "forms", keys ).done(function() {
-            def.resolve();
-        });
-        */
-
         console.log( 'Purged local forms' );
     });