Skip to content

Commit

Permalink
Small removals
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Neufeld committed Aug 27, 2009
1 parent 000af31 commit 1144b4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
17 changes: 0 additions & 17 deletions app/views/layouts/contact_carts.html.erb

This file was deleted.

15 changes: 1 addition & 14 deletions public/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,8 @@ document.observe("dom:loaded", function() {
if($('contact-edit-form')){
observe_is_primary_radio_buttons();
}
// if($('contact-cart-remove-submit')){
// observe_and_transform_contact_cart_submit_button();
// }

});
// TODO: Ajaxify submit button
// function observe_and_transform_contact_cart_submit_button(){
// $('.contact-cart-remove-submit').each(function(el){
// el.replace('<img border="0" align="bottom" src="/images/../icons/vcard_delete.png" alt="Vcard_delete" id="contact-cart-remove-submit"/>');
// });
// $$('.contact-cart-remove-submit').each(function(el){
// el.observe('click', function(form) {
//
// });
// });
// }

function observe_is_primary_radio_buttons(){
$('contact-edit-form').select('[id*="is_primary_true"]').each(
Expand Down

0 comments on commit 1144b4a

Please sign in to comment.