SAAS-290: Hosted SaaS widgets + javascript code generation
Slight improvements to description as well as element positioning
This commit is contained in:
parent
1b0b124247
commit
4b09b289ce
3 changed files with 37 additions and 4 deletions
|
@ -92,10 +92,36 @@ function setCollapsibleWidgetJsCode() {
|
|||
$('#widgetCode-label').hide("fast");
|
||||
$('#widgetCode-element').hide("fast");
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function createWidgetHelpDescription() {
|
||||
$('#thirdPartyApiInfo').qtip({
|
||||
content: {
|
||||
text: "Enabling this feature will allow Airtime to " +
|
||||
"provide schedule data to external widgets that can be embedded " +
|
||||
"in your website. Enable this feature to reveal the embeddable " +
|
||||
"code."
|
||||
},
|
||||
hide: {
|
||||
delay: 500,
|
||||
fixed: true
|
||||
},
|
||||
style: {
|
||||
border: {
|
||||
width: 0,
|
||||
radius: 4
|
||||
},
|
||||
classes: "ui-tooltip-dark ui-tooltip-rounded"
|
||||
},
|
||||
position: {
|
||||
my: "left bottom",
|
||||
at: "right center"
|
||||
},
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('.collapsible-header').live('click',function() {
|
||||
|
@ -111,4 +137,5 @@ $(document).ready(function() {
|
|||
setConfigureMailServerListener();
|
||||
setEnableSystemEmailsListener();
|
||||
setCollapsibleWidgetJsCode();
|
||||
createWidgetHelpDescription();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue