Merge branch '2.3.x-saas' into 2.4.x-saas
Conflicts: airtime_mvc/application/controllers/ScheduleController.php airtime_mvc/application/forms/AddShowWhen.php airtime_mvc/application/models/Schedule.php python_apps/pypo/airtime-playout
This commit is contained in:
commit
3b9b23a7dd
36 changed files with 261 additions and 739 deletions
|
@ -80,6 +80,49 @@ function setMsAuthenticationFieldsReadonly(ele) {
|
|||
}
|
||||
}
|
||||
|
||||
function setCollapsibleWidgetJsCode() {
|
||||
var x = function() {
|
||||
var val = $('input:radio[name=thirdPartyApi]:checked').val();
|
||||
if (val == "1") {
|
||||
//show js textarea
|
||||
$('#widgetCode-label').show("fast");
|
||||
$('#widgetCode-element').show("fast");
|
||||
} else {
|
||||
//hide js textarea
|
||||
$('#widgetCode-label').hide("fast");
|
||||
$('#widgetCode-element').hide("fast");
|
||||
}
|
||||
}
|
||||
x();
|
||||
$('#thirdPartyApi-element input').click(x);
|
||||
}
|
||||
|
||||
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"
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function setSoundCloudCheckBoxListener() {
|
||||
var subCheckBox= $("#UseSoundCloud,#SoundCloudDownloadbleOption");
|
||||
var mainCheckBox= $("#UploadToSoundcloudOption");
|
||||
|
@ -126,4 +169,6 @@ $(document).ready(function() {
|
|||
setSystemFromEmailReadonly();
|
||||
setConfigureMailServerListener();
|
||||
setEnableSystemEmailsListener();
|
||||
setCollapsibleWidgetJsCode();
|
||||
createWidgetHelpDescription();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue