Browse Source
Merge pull request #5530 from nextcloud/bugfix/noid/add-missing-observe-visibility
Register visibility observer in all entry points
pull/5544/head
Vincent Petry
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
0 deletions
-
src/mainFilesSidebar.js
-
src/mainPublicShareAuthSidebar.js
-
src/mainPublicShareSidebar.js
|
|
|
@ -23,6 +23,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
import Vue from 'vue' |
|
|
|
import VueObserveVisibility from 'vue-observe-visibility' |
|
|
|
import FilesSidebarCallViewApp from './FilesSidebarCallViewApp' |
|
|
|
import FilesSidebarTabApp from './FilesSidebarTabApp' |
|
|
|
import './init' |
|
|
|
@ -62,6 +63,7 @@ Vue.prototype.OCA = OCA |
|
|
|
Vue.use(Vuex) |
|
|
|
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) |
|
|
|
Vue.use(vOutsideEvents) |
|
|
|
Vue.use(VueObserveVisibility) |
|
|
|
|
|
|
|
const newCallView = () => new Vue({ |
|
|
|
store, |
|
|
|
|
|
|
|
@ -19,6 +19,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
import Vue from 'vue' |
|
|
|
import VueObserveVisibility from 'vue-observe-visibility' |
|
|
|
import PublicShareAuthRequestPasswordButton from './PublicShareAuthRequestPasswordButton' |
|
|
|
import PublicShareAuthSidebar from './PublicShareAuthSidebar' |
|
|
|
import './init' |
|
|
|
@ -58,6 +59,7 @@ Vue.prototype.OCA = OCA |
|
|
|
Vue.use(Vuex) |
|
|
|
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) |
|
|
|
Vue.use(vOutsideEvents) |
|
|
|
Vue.use(VueObserveVisibility) |
|
|
|
|
|
|
|
/** |
|
|
|
* Wraps all the body contents in its own container. |
|
|
|
|
|
|
|
@ -19,6 +19,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
import Vue from 'vue' |
|
|
|
import VueObserveVisibility from 'vue-observe-visibility' |
|
|
|
import PublicShareSidebar from './PublicShareSidebar' |
|
|
|
import './init' |
|
|
|
|
|
|
|
@ -57,6 +58,7 @@ Vue.prototype.OCA = OCA |
|
|
|
Vue.use(Vuex) |
|
|
|
Vue.use(VueShortKey, { prevent: ['input', 'textarea', 'div'] }) |
|
|
|
Vue.use(vOutsideEvents) |
|
|
|
Vue.use(VueObserveVisibility) |
|
|
|
|
|
|
|
function adjustLayout() { |
|
|
|
document.querySelector('#app-content').appendChild(document.querySelector('footer')) |
|
|
|
|