diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-14 18:10:17 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-14 18:10:17 +0200 |
commit | 5a907a1a7ea54f3f0bd443660eb539ebe3a5a821 (patch) | |
tree | b4203ccfb3b4ee0a1eeef8325157d6cf910eefc7 /js/main.js | |
parent | c2bfb2babca9ad97ee419a7a388fff615f7f93d0 (diff) |
fixed a bug which broke updating via ajax
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/main.js b/js/main.js index cfe9df6d0..708c018f8 100644 --- a/js/main.js +++ b/js/main.js @@ -15,7 +15,7 @@ var News = News || {}; $(document).ready(function(){ // config values - var menuUpdateIntervalMiliseconds = 200000; + var menuUpdateIntervalMiliseconds = 30000; // global object array for accessing instances News.Objects = {}; @@ -41,7 +41,7 @@ $(document).ready(function(){ $rootFolder.click(function(){ News.DropDownMenu.selectItem(this, 0); }); - $('#addfeed_dialog .menu').append($rootFolder); + $('#addfeed_dialog .menu').append($rootFolder); $('#feeds .folder').each(function(){ var title = $(this).children('.title').html(); @@ -85,7 +85,7 @@ $(document).ready(function(){ $('#changefolder_dialog input[type=submit]').click(function(){ News.Folder.changeName(this); - }); + }); $('#folder_add_submit').click(function(){ News.Folder.submit(this); @@ -121,7 +121,7 @@ $(document).ready(function(){ OC.dialogs.alert(jsonData.data.message, t('news', 'Error')); } }); - }); + }); $(document).click(function(event) { $('#feedfoldermenu').hide(); |