Skip to content

Commit

Permalink
Dev: applied fixes for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Aug 24, 2017
1 parent 81020b8 commit 513d6a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions assets/packages/adminpanel/build/lsadminpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -28496,6 +28496,9 @@ if (document.getElementById('vue-app-main-container')) {
const maxHeight = ($('#in_survey_common').height() - 35) || 400;
this.$store.commit('changeMaxHeight', maxHeight);
this.updatePjaxLinks();
$(document).on('click', 'ul.pagination>li>a', function(){
this.updatePjaxLinks();
});
}
});
}
Expand All @@ -28516,7 +28519,6 @@ $(document).on('pjax:complete', () => {
}, 2200);
});


// const topmenu = new Vue(
// {
// el: '#vue-top-menu-app',
Expand Down Expand Up @@ -30677,7 +30679,7 @@ const getAppState = function (userid) {
updatePjax(state) {
state.pjax = null;
state.pjax = new __WEBPACK_IMPORTED_MODULE_4_pjax___default.a({
elements: 'a.pjax', // default is "a[href], form[action]"
elements: ['a.pjax'], // default is "a[href], form[action]"
selectors: [
'#pjax-content',
'#breadcrumb-container',
Expand Down Expand Up @@ -31660,9 +31662,8 @@ module.exports = function() {
/* 75 */
/***/ (function(module, exports, __webpack_require__) {

// globals console
/* eslint-disable no-alert, no-console */

/* global console */
/**
* Check the browsers console capabilities and bundle them into general functions
* If the build environment was "production" only put out error messages.
Expand Down Expand Up @@ -31734,7 +31735,7 @@ class ConsoleShim {

time() {
if (typeof console.time === 'function') {
console.time(args);
console.time(arguments);
return;
}

Expand All @@ -31743,7 +31744,7 @@ class ConsoleShim {

timeEnd() {
if (typeof console.timeEnd === 'function') {
console.timeEnd(args);
console.timeEnd(arguments);
return;
}
const diff = (new Date()) - this.timeHolder;
Expand All @@ -31753,7 +31754,7 @@ class ConsoleShim {

error(){
if (typeof console.error === 'function') {
console.error(args);
console.error(arguments);
return;
}

Expand All @@ -31763,7 +31764,7 @@ class ConsoleShim {

warn(){
if (typeof console.warn === 'function') {
console.warn(args);
console.warn(arguments);
return;
}

Expand All @@ -31776,7 +31777,7 @@ class ConsoleShim {
const env = "developement";
const debugConsole = new ConsoleShim();

exports.install = function (Vue, options) {
exports.install = function (Vue) {
console.log(`The systen is currently in ${"developement"} mode.`);

const debugmode = (env=='developement');
Expand Down
2 changes: 1 addition & 1 deletion assets/packages/adminpanel/build/lsadminpanel.js.map

Large diffs are not rendered by default.

0 comments on commit 513d6a0

Please sign in to comment.