admin.js
1 month ago
jquery.cookie.js
1 month ago
jquery.mousewheel.min.js
1 month ago
products_compare.js
1 month ago
admin.js
16 lines
| 1 | (function ($){ |
| 2 | $(document).ready( function () { |
| 3 | $(document).on('click', '.berocket_compare_products_styler .all_theme_default', function (event) { |
| 4 | event.preventDefault(); |
| 5 | $table = $(this).parents('table').first(); |
| 6 | $table.find('.br_colorpicker_default').trigger('click'); |
| 7 | $table.find('select').each( function( i, o ) { |
| 8 | $(o).val($(o).data('default')); |
| 9 | }); |
| 10 | $table.find('input[type=text]').each( function( i, o ) { |
| 11 | $(o).val($(o).data('default')); |
| 12 | }); |
| 13 | }); |
| 14 | }); |
| 15 | })(jQuery); |
| 16 |