Keep ConditionalChatLink active when agents are unavailable
Content
Hi,
I'm using ConditionalChatLink. It's a great widget but it's missing one feature by default, which is when all agents are busy chat link becomes unavailable. I want to keep the chat link available during business hours (Outside holidays) even when all agents are busy, I want to keep adding to the queue.
I tried commenting out the:
else if(unavailableBusy)
{
this._container.setContent(this.Y.Node.create(new EJS({text: this.getStatic().templates.unavailableBusyMessage}).render({
instanceID: this.instanceID,
linkTitle: RightNow.Interface.getMessage("LIVE_CHAT_LBL"),
message: this._parseMacro(this.data.attrs.label_unavailable_busy_template, expectedWaitSeconds)
})));this._addClickHandler(this.Y.one(this.baseSelector + '_UnavailableBusyLink'));