Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin related product delete issue #95

Open
twmulloy opened this issue Aug 26, 2014 · 0 comments
Open

Admin related product delete issue #95

twmulloy opened this issue Aug 26, 2014 · 0 comments

Comments

@twmulloy
Copy link

2-3-stable when in the admin and deleting a related product the page glitches out and in the js console this error Uncaught TypeError: undefined is not a function that refers to this script but it is seemingly unrelated:

jQuery(function($) {
  // Make select beautiful
  $('select.select2').select2({
    allowClear: true,
    dropdownAutoWidth: true
  });

  function format_taxons(taxon) {
    new_taxon = taxon.text.replace('->', '<i class="fa fa-arrow-right">')
    return new_taxon;
  }

  $("#product_taxon_ids").on({
    change: function(e){
      $('.select2-search-choice .with-tip').powerTip({
        smartPlacement: true,
        fadeInTime: 50,
        fadeOutTime: 50
      })
    }
  })
})
;

appears that the response is being injected into the wrong element.

screen shot 2014-08-26 at 8 40 32 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants