mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-23 17:29:19 +02:00
Fix:Edit library modal blur inputs on submit #1427
This commit is contained in:
parent
d8753aafb9
commit
cefc75a4ed
2 changed files with 18 additions and 5 deletions
|
@ -144,8 +144,6 @@ export default {
|
|||
return true
|
||||
},
|
||||
submit() {
|
||||
if (!this.validate()) return
|
||||
|
||||
// If custom expression input is focused then unfocus it instead of submitting
|
||||
if (this.$refs.tabComponent && this.$refs.tabComponent.checkBlurExpressionInput) {
|
||||
if (this.$refs.tabComponent.checkBlurExpressionInput()) {
|
||||
|
@ -153,6 +151,8 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
if (!this.validate()) return
|
||||
|
||||
if (this.library) {
|
||||
this.submitUpdateLibrary()
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue