diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.addfeed.php | 2 | ||||
-rw-r--r-- | templates/part.addfolder.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.addfeed.php b/templates/part.addfeed.php index 73b66bf92..39063a426 100644 --- a/templates/part.addfeed.php +++ b/templates/part.addfeed.php @@ -7,7 +7,7 @@ <div class="add-new-popup" id="new-feed"> - <form ng-submit="Navigation.createFeed(feed.url, feed.folder)" name="feedform"> + <form ng-submit="Navigation.createFeed(feed)" name="feedform"> <input type="text" ng-model="feed.url" placeholder="<?php p($l->t('Web address')); ?>" diff --git a/templates/part.addfolder.php b/templates/part.addfolder.php index 3fb48526e..dde48ad2f 100644 --- a/templates/part.addfolder.php +++ b/templates/part.addfolder.php @@ -7,11 +7,11 @@ <div class="add-new-popup" id="new-folder"> - <form ng-submit="Navigation.createFolder(folderName)" name="folderform"> + <form ng-submit="Navigation.createFolder(folder)" name="folderform"> <!-- add a folder --> <input type="text" - ng-model="folderName" + ng-model="folder.name" placeholder="<?php p($l->t('Folder name')); ?>" title="<?php p($l->t('Folder name')); ?>" name="folderName" |