diff options
Diffstat (limited to 'js/news.js')
-rw-r--r-- | js/news.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/news.js b/js/news.js index adacbfd63..a2e180aca 100644 --- a/js/news.js +++ b/js/news.js @@ -55,7 +55,7 @@ News={ //translation here!!! $(button).prop('value', 'Adding...'); - var folderid = $('#folder_parentfolder').find(':input[name="folderid"]').val(); + var folderid = $('#inputfolderid:input[name="folderid"]').val(); var url; url = OC.filePath('news', 'ajax', 'createfolder.php'); @@ -105,7 +105,7 @@ News={ //translation here!!! $(button).prop('value', 'Adding...'); - var folderid = $('#feed_parentfolder').find(':input[name="folderid"]').val(); + var folderid = $('#inputfolderid:input[name="folderid"]').val(); var url; url = OC.filePath('news', 'ajax', 'createfeed.php'); |