SAAS-772: Send metadata to Tunein

Added form validation by making a test request to the TuneIn API with
the user-entered values
This commit is contained in:
drigato 2015-05-14 13:13:33 -04:00
parent cf24c141fd
commit b023f191e3
4 changed files with 60 additions and 10 deletions

View file

@ -152,6 +152,10 @@ $(document).ready(function() {
return false;
}).next().hide();
if ($("#tunein-settings").find(".errors").length > 0) {
$(".collapsible-content#tunein-settings").show();
}
/* No longer using AJAX for this form. Zend + our code makes it needlessly hard to deal with. -- Albert
$('#pref_save').live('click', function() {
var data = $('#pref_form').serialize();