Added remove button for station logo on preferences page

This commit is contained in:
Duncan Sommerville 2015-02-24 12:12:30 -05:00
parent 69d588d2f6
commit 5e256df061
5 changed files with 31 additions and 7 deletions

View file

@ -104,6 +104,10 @@ $(document).ready(function() {
return false;
}).next().hide();
$('#logo-remove-btn').click(function() {
$.post(baseUrl+'Preference/remove-logo', function(json){});
});
/* 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();