← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13736: Fixed bug with context menu in sql view

 

------------------------------------------------------------
revno: 13736
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-01-15 12:29:00 +0100
message:
  Fixed bug with context menu in sql view
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/sqlView.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-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/sqlView.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/sqlView.js	2013-12-04 10:20:53 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/sqlView.js	2014-01-15 11:29:00 +0000
@@ -76,7 +76,7 @@
     },
     function( json ) {
       if( json.response == "success" ) {
-        window.location.href = "exportSqlView.action?id=" + viewId;
+        window.location.href = "exportSqlView.action?id=" + context.id;
       }
       else if( json.response == "error" ) {
         setHeaderDelayMessage(json.message);
@@ -89,4 +89,4 @@
   var url = "exportSqlView.action?id=" + id + "&type=" + type;
 
   window.location.href = url;
-}
\ No newline at end of file
+}