Added remove button for station logo on preferences page
This commit is contained in:
parent
69d588d2f6
commit
5e256df061
5 changed files with 31 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue