dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16643
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6372: DV, setting correct http method
------------------------------------------------------------
revno: 6372
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2012-03-25 14:08:28 +0200
message:
DV, setting correct http method
modified:
dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/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-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js 2012-03-22 12:39:14 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js 2012-03-25 12:08:28 +0000
@@ -1196,6 +1196,7 @@
var url = DV.cmp.favorite.system.getValue() ? DV.conf.finals.ajax.favorite_addorupdatesystem : DV.conf.finals.ajax.favorite_addorupdate;
Ext.Ajax.request({
url: DV.conf.finals.ajax.path_visualizer + url,
+ method: 'POST',
params: p,
success: function() {
DV.store.favorite.load({callback: function() {
@@ -1219,6 +1220,7 @@
var url = DV.cmp.favorite.system.getValue() ? DV.conf.finals.ajax.favorite_addorupdatesystem : DV.conf.finals.ajax.favorite_addorupdate;
Ext.Ajax.request({
url: DV.conf.finals.ajax.path_visualizer + url,
+ method: 'POST',
params: {uid: r.data.id, name: name},
success: function() {
DV.store.favorite.load({callback: function() {
@@ -1239,6 +1241,7 @@
});
Ext.Ajax.request({
url: baseurl,
+ method: 'POST',
success: function() {
DV.store.favorite.load({callback: function() {
DV.util.mask.hideMask();