dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27298
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13567: Reverted r 13566
------------------------------------------------------------
revno: 13567
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-01-03 18:22:29 +0100
message:
Reverted r 13566
modified:
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/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-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2014-01-03 17:10:10 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2014-01-03 17:22:29 +0000
@@ -4806,7 +4806,7 @@
text += '<script src="http://dhis2-cdn.org/v214/plugin/table.js"></script>\n\n';
text += '<script>\n';
text += 'var base = "' + ns.core.init.host + '";\n\n';
- text += 'DHIS.getTable({ url: base, el: "table1", id: "' + ns.app.layout.id + '" });\n';
+ text += 'DHIS.getTable( url: base, el: "table1", ' + JSON.stringify(ns.core.service.layout.layout2plugin(ns.app.layout, 'table1'), null, 2) + ');\n';
text += '</script>\n</head>\n\n<body>\n';
text += '<div id="table1"></div>\n';
text += '</body>\n</html>';