← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 103: dhis-web-maintenance-dataset: Fixed #343614 add dataset's move selected converts to lowercase

 

------------------------------------------------------------
revno: 103
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2009-03-20 21:33:48 +0100
message:
  dhis-web-maintenance-dataset: Fixed #343614 add dataset's move selected converts to lowercase
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js	2009-03-03 16:46:36 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js	2009-03-20 20:33:48 +0000
@@ -214,10 +214,7 @@
     {
         var value = dataSetMembers[id];
         
-        value = value.toLowerCase();
-		filter = filter.toLowerCase();
-        
-        if ( value.indexOf( filter ) != -1 )
+        if ( value.toLowerCase().indexOf( filter.toLowerCase() ) != -1 )
         {
             list.add( new Option( value, id ), null );
         }
@@ -235,10 +232,7 @@
     {
         var value = availableDataElements[id];
         
-        value = value.toLowerCase();
-		filter = filter.toLowerCase();
-        
-        if ( value.indexOf( filter ) != -1 )
+        if ( value.toLowerCase().indexOf( filter.toLowerCase() ) != -1 )
         {
             list.add( new Option( value, id ), null );
         }



--
Trunk
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.