import opml
This commit is contained in:
parent
9583b4b8d7
commit
ea4775839f
4 changed files with 67 additions and 9 deletions
|
|
@ -241,10 +241,12 @@ var vm = new Vue({
|
|||
api.items.update(item.id, {status: item.status})
|
||||
},
|
||||
importOPML: function(event) {
|
||||
var vm = this
|
||||
var input = event.target
|
||||
var form = document.querySelector('#opml-import-form')
|
||||
api.upload_opml(form).then(function() {
|
||||
input.value = ''
|
||||
vm.refreshFeeds()
|
||||
})
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue