Created
August 18, 2014 19:02
-
-
Save tstachl/da02b7f81631190e9e2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new DESK.Widget({ | |
id: 'test', // The ID of the element to place the button into | |
version: 1, | |
site: 'hecos.desk.com', | |
port: '80', | |
type: 'chat', | |
displayMode: 0, //0 for popup, 1 for lightbox | |
features: { | |
offerAlways: false, | |
offerAgentsOnline: true, | |
offerRoutingAgentsAvailable: false, | |
offerEmailIfChatUnavailable: true | |
}, | |
fields: { | |
ticket: { | |
// desc: '', | |
// labels_new: '', | |
// priority: '', | |
// subject: '' | |
}, | |
interaction: { | |
// email: '', | |
// name: '' | |
}, | |
chat: { | |
//subject: '' | |
}, | |
customer: { | |
// company: '', | |
// desc: '', | |
// first_name: '', | |
// last_name: '', | |
// locale_code: '', | |
// title: '' | |
} | |
} | |
}).render(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment