1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Drop some debugging code

This commit is contained in:
Loic Blot
2018-11-10 17:36:03 +01:00
parent 13ba8b7620
commit c8deb8df6e
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -92,7 +92,6 @@ Vue.directive('confirm', {
bind(el, binding, vnode) { bind(el, binding, vnode) {
const yesMethod = binding.value[1]; const yesMethod = binding.value[1];
const bodyMessage = binding.value[0]; const bodyMessage = binding.value[0];
console.log(bodyMessage);
el.handleClick = (e) => { el.handleClick = (e) => {
const data = { const data = {
doYes: function () { yesMethod(); data.show = false; }, doYes: function () { yesMethod(); data.show = false; },
@@ -101,7 +100,7 @@ Vue.directive('confirm', {
}; };
let dialog = new Dialog({ data: data }).$mount(); let dialog = new Dialog({ data: data }).$mount();
document.getElementById('app').appendChild(dialog.$el); document.getElementById('app').appendChild(dialog.$el);
} };
el.addEventListener('click', el.handleClick); el.addEventListener('click', el.handleClick);
}, },
unbind(el) { unbind(el) {
-2
View File
@@ -147,8 +147,6 @@ var ContactList = new Vue({
var bufferedContacts = []; var bufferedContacts = [];
$.each(jsondata['phonelist'], function (id, val) { $.each(jsondata['phonelist'], function (id, val) {
console.log(id);
console.log(val);
var fn, peerLabel; var fn, peerLabel;
if (typeof jsondata['contacts'][id] === 'undefined') { if (typeof jsondata['contacts'][id] === 'undefined') {
peerLabel = id; peerLabel = id;