Renamed a podcast.js function for clarity
This commit is contained in:
parent
f9ace20075
commit
a21c4612c9
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class='btn-group pull-right'>
|
||||
<button ng-click="put()" class="btn" title='<?php echo _("Save podcast") ?>' type="button">
|
||||
<button ng-click="savePodcast()" class="btn" title='<?php echo _("Save podcast") ?>' type="button">
|
||||
<?php echo _("Save") ?>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@ var podcastApp = angular.module('podcast', [])
|
|||
console.log(podcast);
|
||||
AIRTIME.tabs.setActiveTabName($scope.podcast.title);
|
||||
|
||||
$scope.put = function() {
|
||||
$scope.savePodcast = function() {
|
||||
$http.put(endpoint + $scope.podcast.id, { csrf_token: jQuery("#csrf").val(), podcast: $scope.podcast })
|
||||
.success(function() {
|
||||
// TODO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue