diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-04 17:29:44 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-04 17:29:44 -0400 |
commit | 5225272b1cb1c34cc00525e4e05071a663fdd1e5 (patch) | |
tree | f5992ae98fdab6ccfc1f0afc03875f6a6a458962 | |
parent | 0defb2d3d518a35489b01fc08d258b6abfc9365a (diff) |
removes confirmation dialog when adding a folder
-rw-r--r-- | js/news.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/news.js b/js/news.js index d9ac3cf6d..61d79453d 100644 --- a/js/news.js +++ b/js/news.js @@ -64,11 +64,11 @@ News={ if(jsondata.status == 'success'){ $('div[data-id="' + folderid + '"] > ul').append(jsondata.data.listfolder); setupFeedList(); - OC.dialogs.confirm(t('news', 'Do you want to add another folder?'), t('news', 'Folder added!'), function(answer) { - if(!answer) { + //OC.dialogs.confirm(t('news', 'Do you want to add another folder?'), t('news', 'Folder added!'), function(answer) { + // if(!answer) { $('#addfolder_dialog').dialog('destroy').remove(); - } - }); + // } + //}); } else { OC.dialogs.alert(jsondata.data.message, t('news', 'Error')); } |