← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7247: (patient) Remove unused file, clean up code.

 

------------------------------------------------------------
revno: 7247
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-06-08 14:00:56 +0700
message:
  (patient) Remove unused file, clean up code.
removed:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/images/view.png
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.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-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2012-06-08 06:28:04 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js	2012-06-08 07:00:56 +0000
@@ -1235,22 +1235,6 @@
 					encode: true,
 					local: false,
 					buildQuery : function (filters) {
-						/* for( var i=0;i<filters.length;i++)
-						{
-							var filter = filters[i];
-							var field = filter.field;
-							var compare = '=';
-							if( filter.data.comparison == 'lt')
-								compare = '<' ;
-							else if( filter.data.comparison == 'gt' )
-								compare = '>' ;
-								
-							var value = compare + "'"+ filter.data.value + "'";
-							
-							var grid = TR.datatable.datatable;
-							var record = grid.getView().getRecord( grid.getView().getNode(0) );
-							record.set(field, value);
-						} */
 						TR.exe.filter();
 					},
 					filters: []

=== removed file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/images/view.png'
Binary files dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/images/view.png	2012-05-30 15:51:44 +0000 and dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/images/view.png	1970-01-01 00:00:00 +0000 differ