summaryrefslogtreecommitdiffstats
path: root/js/news.js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-14 21:15:16 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-14 21:15:47 +0200
commit1e37bc139bb28e6fe9b0dd0d477e2dbef5a2cab9 (patch)
treefa56b07316b914f39e2dd02b70a61b05b016b967 /js/news.js
parent365cecd2ec1bf2552ae0d8e064680ed36b0bf04e (diff)
Whitespace cleanup
Diffstat (limited to 'js/news.js')
-rw-r--r--js/news.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/news.js b/js/news.js
index bc7e7348c..953afab27 100644
--- a/js/news.js
+++ b/js/news.js
@@ -63,9 +63,9 @@ News = {
$(button).prop('value', t('news', 'Changing...'));
var url = OC.filePath('news', 'ajax', 'changefoldername.php');
- var data = {
- folderName: folderName,
- folderId: folderId
+ var data = {
+ folderName: folderName,
+ folderId: folderId
};
$.post(url, data, function(jsonData){
@@ -93,7 +93,7 @@ News = {
$(button).attr("disabled", true);
$(button).prop('value', t('news', 'Adding...'));
-
+
var folderid = 0;
if($('#firstrun').length == 0){
folderid = $('#addfeed_dialog .inputfolderid').val();
@@ -106,9 +106,9 @@ News = {
dataType: "json",
success: function(jsonData){
if($('#firstrun').length > 0){
- window.location.reload();
+ window.location.reload();
} else {
- if(jsonData.status == 'success'){
+ if(jsonData.status == 'success'){
News.Objects.Menu.addNode(folderid, jsonData.data.listfeed);
News.Objects.Menu.load(News.MenuNodeType.Feed, jsonData.data.feedid);
$('#addfeed_dialog').dialog('close');
@@ -128,7 +128,7 @@ News = {
}
});
},
-
+
},
}