#8002 adjust to Lilium #3199
|
@ -27,17 +27,8 @@ export default class Controller extends Component {
|
||||||
setTimeout(() => element.classList.add('shown'), 30);
|
setTimeout(() => element.classList.add('shown'), 30);
|
||||||
shape.element = element;
|
shape.element = element;
|
||||||
|
|
||||||
if (data.additionalData && this.vnToken.token) {
|
if (data.additionalData && this.vnToken.token)
|
||||||
this.additionalData = data.additionalData;
|
this.additionalData = data.additionalData;
|
||||||
let supportButton = document.createElement('i');
|
|
||||||
supportButton.setAttribute('class', 'material-icons clickable');
|
|
||||||
supportButton.addEventListener('click', () => this.$.supportDialog.show());
|
|
||||||
element.appendChild(supportButton);
|
|
||||||
|
|
||||||
let buttonIcon = 'support_agent';
|
|
||||||
buttonIcon = document.createTextNode(buttonIcon);
|
|
||||||
supportButton.appendChild(buttonIcon);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (shape.type)
|
if (shape.type)
|
||||||
element.classList.add(shape.type);
|
element.classList.add(shape.type);
|
||||||
|
|
|
@ -10,12 +10,12 @@ export default class Controller extends Dialog {
|
||||||
if (response !== 'accept')
|
if (response !== 'accept')
|
||||||
return super.responseHandler(response);
|
return super.responseHandler(response);
|
||||||
|
|
||||||
this.$http.post('Ostickets/send-to-support', {
|
// this.$http.post('Ostickets/send-to-support', {
|
||||||
reason: this.reason,
|
// reason: this.reason,
|
||||||
additionalData: this.additionalData
|
// additionalData: this.additionalData
|
||||||
})
|
// })
|
||||||
.then(() => super.responseHandler(response))
|
// .then(() => super.responseHandler(response))
|
||||||
.then(() => this.vnApp.showSuccess(this.$t('Email sended!')));
|
// .then(() => this.vnApp.showSuccess(this.$t('Email sended!')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue