@@ -157,11 +157,9 @@ app.controller('BoardController', function ($rootScope, $scope, $element, $state
|
||||
model: BoardService.getCurrent()
|
||||
},
|
||||
});
|
||||
$scope.mountCollections = () => {
|
||||
console.log('mountCollections');
|
||||
$scope.mountCollections = function() {
|
||||
const MountingPoint = document.getElementById('collaborationResources');
|
||||
if (MountingPoint) {
|
||||
console.log(MountingPoint);
|
||||
ComponentVM.model = BoardService.getCurrent();
|
||||
ComponentVM.$mount(MountingPoint);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
/* global __webpack_nonce__ OC */
|
||||
/* global __webpack_nonce__ __webpack_public_path__ OC t */
|
||||
__webpack_nonce__ = btoa(OC.requestToken); // eslint-disable-line no-native-reassign
|
||||
__webpack_public_path__ = OC.linkTo('deck', 'js/build/');
|
||||
|
||||
@@ -31,7 +31,7 @@ import BoardSelector from './views/BoardSelector';
|
||||
|
||||
import './../css/collections.css';
|
||||
|
||||
(function(OCP) {
|
||||
((function(OCP) {
|
||||
|
||||
Vue.prototype.$ = $
|
||||
Vue.prototype.t = t
|
||||
@@ -64,4 +64,4 @@ import './../css/collections.css';
|
||||
typeString: t('deck', 'board'),
|
||||
typeIconClass: 'icon-deck'
|
||||
});
|
||||
})(window.OCP);
|
||||
})(window.OCP));
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
/* global __webpack_nonce__ OC */
|
||||
/* global __webpack_nonce__ __webpack_public_path__ OC */
|
||||
__webpack_nonce__ = btoa(OC.requestToken); // eslint-disable-line no-native-reassign
|
||||
__webpack_public_path__ = OC.linkTo('deck', 'js/build/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user