summaryrefslogtreecommitdiffstats
path: root/js/news.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/news.js')
-rw-r--r--js/news.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/news.js b/js/news.js
index 0b5f792ff..4c71e2a90 100644
--- a/js/news.js
+++ b/js/news.js
@@ -99,7 +99,7 @@ News={
}
- $.getJSON(OC.filePath('news', 'ajax', 'importopml.php'), { path: path }, function(jsondata){
+ $.post(OC.filePath('news', 'ajax', 'importopml.php'), { path: path }, function(jsondata){
if (jsondata.status == 'success') {
alert(jsondata.data.title);
}