SAAS-1234 - bind station feed url to angular data model
This commit is contained in:
parent
c328515f4b
commit
641cfb9432
5 changed files with 11 additions and 28 deletions
|
@ -107,7 +107,7 @@ var AIRTIME = (function (AIRTIME) {
|
|||
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
|
||||
data: { stationPodcastPrivacy: $("#podcast-settings").find("input:checked").val() }
|
||||
}).success(function (data) {
|
||||
$("#preferences_podcast-stationPodcastFeedUrl").val(data.url);
|
||||
jQuery.extend($scope.podcast, data);
|
||||
$(".success").text($.i18n._("Podcast settings saved")).slideDown("fast");
|
||||
setTimeout(function () {
|
||||
$(".success").slideUp("fast");
|
||||
|
@ -138,13 +138,6 @@ var AIRTIME = (function (AIRTIME) {
|
|||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Open metadata editor tabs for each of the selected episodes.
|
||||
*/
|
||||
StationPodcastController.prototype.openSelectedTabEditors = function () {
|
||||
mod.editSelectedEpisodes(this.episodeTable.getSelectedRows());
|
||||
};
|
||||
|
||||
/**
|
||||
* Initialize the Station podcast episode table.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue