Merge branch 'master' into fast-autofocus-in-scanning

Updating with new URL for autofocus

Some of the buttons have stopped working - this will make the clinet match changes in the server.
This commit is contained in:
Richard Bowman 2019-04-08 20:07:41 +01:00
commit 5e40af1b2f
4 changed files with 7 additions and 3 deletions

View file

@ -50,9 +50,13 @@ export default {
created: function () {
var context = this
UIkit.util.on(document, 'hidden', '.toggle-hidden', function () {
// BUG: This gets called every time a tab switches. Really shouldn't
console.log("Sidebar hidden")
context.$root.$emit('globalResizePreview')
})
UIkit.util.on(document, 'shown', '.toggle-hidden', function () {
// BUG: This gets called every time a tab switches. Really shouldn't
console.log("Sidebar shown")
context.$root.$emit('globalResizePreview')
})

View file

@ -282,7 +282,7 @@ export default {
return this.$store.getters.uri + "/plugin/default/autofocus/autofocus"
},
fastAutofocusApiUri: function () {
return this.$store.getters.uri + "/plugin/default/fast_autofocus/fast_autofocus"
return this.$store.getters.uri + "/plugin/default/autofocus/fast_autofocus"
}
}