mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 16:06:15 +00:00
Drop some debugging code
This commit is contained in:
parent
13ba8b7620
commit
c8deb8df6e
@ -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) {
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user