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:
parent
cf24c141fd
commit
b023f191e3
4 changed files with 60 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue