Guest User

Untitled

a guest
Nov 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. js/lib/flex.js:425
  2.  
  3. ----
  4. return Flex.checkFlashPlayerVersion(major, minor, revision);
  5.  
  6. +++
  7. try {
  8. return Flex.checkFlashPlayerVersion(major, minor, revision);
  9. } catch (e) {
  10. console.log('This browser doesn\'t support Flash, or disables it by default.');
  11. return 0;
  12. }
  13.  
  14. =================================
  15. (only if "Uncaught TypeError: Cannot read property 'get' of undefined")
  16.  
  17. app/design/adminhtml/default/default/template/catalog/product/js.phtml:41
  18.  
  19. ---
  20. Event.observe($('tax_class_id'), 'change', recalculateTax);
  21.  
  22. +++
  23. if ($('tax_class_id')) {
  24. Event.observe($('tax_class_id'), 'change', recalculateTax);
  25. }
Add Comment
Please, Sign In to add comment