test #1730
|
@ -27,7 +27,7 @@ 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) {
|
if (data.additionalData && this.vnToken.token) {
|
||||||
this.additionalData = data.additionalData;
|
this.additionalData = data.additionalData;
|
||||||
let supportButton = document.createElement('i');
|
let supportButton = document.createElement('i');
|
||||||
supportButton.setAttribute('class', 'material-icons clickable');
|
supportButton.setAttribute('class', 'material-icons clickable');
|
||||||
|
|
|
@ -7,6 +7,9 @@ export default class Controller extends Dialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
responseHandler(response) {
|
responseHandler(response) {
|
||||||
|
if (response !== 'accept')
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue