← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12834: minor bugfixes

 

------------------------------------------------------------
revno: 12834
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-10-30 14:30:13 +0100
message:
  minor bugfixes
modified:
  dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filter.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-importexport/src/main/webapp/dhis-web-importexport/javascript/filter.js'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filter.js	2013-10-30 12:51:03 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filter.js	2013-10-30 13:30:13 +0000
@@ -64,7 +64,7 @@
     {
         if ( filters[i].id == filterUid )
         {
-            $( "#exportJson" ).attr( "value", filters[i].metaDataUids );
+            $( "#exportJson" ).attr( "value", filters[i].jsonFilter );
             jQuery( "#exportDialog" ).dialog( {
                 title: i18n_export,
                 modal: true
@@ -78,7 +78,7 @@
 {
     var exportJson = {};
     exportJson.exportDependencies = $( "#exportDependencies" ).is( ":checked" ).toString();
-    exportJson.metaDataUids = $( "#exportJson" ).val();
+    exportJson.jsonFilter = $( "#exportJson" ).val();
 
     $( "#exportJsonValue" ).val( JSON.stringify( exportJson ) );
 
@@ -121,7 +121,7 @@
             $( "input[name='name']" ).val( filters[i].name );
             $( "input[name='description']" ).val( filters[i].description );
             $( "input[name='uid']" ).val( filters[i].id );
-            $( "input[name='metaDataUids']" ).val( filters[i].metaDataUids );
+            $( "input[name='jsonFilter']" ).val( filters[i].jsonFilter );
             $( "input[name='command']" ).val( "update" );
         }
     }