Commit Graph

28 Commits

Author SHA1 Message Date
Kathy Daring 61c4e20863 replace jQuery..bind except in 3rd party assets 2021-01-07 15:04:26 -07:00
Rodrigo Primo 8ebead165e Replace usages of depracted jQuery.fn.click() event shorthand
This commit replaces all instances in WooCommerce codebase (except included third-party libraries) where jQuery.fn.click( handler ) event shorthand was used. This shorthand was deprecated in jQuery 3.3 (see https://github.com/jquery/jquery/issues/3214). The jQuery documentation was not updated yet (see https://github.com/jquery/jquery-migrate/issues/288 and https://github.com/jquery/api.jquery.com/issues/972).

jQuery.click() was not deprecated and so it was not replaced.
2020-11-18 15:27:46 -03:00
Christopher Allford 0d6675b490 Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
Hardik Thakkar be40faba61 Fixes #23440 : # symbol in Product Category name breaks Reports CSV export 2019-04-23 18:19:17 +05:30
Mike Jolley 9ef09b5a07 Add BOM to export
Closes #17454
2017-12-07 15:14:42 +00:00
Mike Jolley 919643af56 Allow report to select 1D into the future to workaround timezone issues.
Closes #16935
2017-09-26 12:29:25 +01:00
Ninos Ego bf9a7381dc Coding improvements for datepicker range 2017-07-13 13:15:58 +02:00
Mike Jolley 75f79b3279 Se 20y limit on datepicker too 2017-04-03 10:46:37 +01:00
Chuck Mac aef47c7bdc Admin Report JS - Add ability to have non-date index in export
Currently the export function only allows for an index that is a date. For
extending reports there are many situations where it would be desirable to
have a non-date index.  This change will add a new data flag "index_type",
if set to "none" it will leave the index as is and not try to convert it
to a date.
2017-01-20 09:36:43 -05:00
Claudio Sanches e5186aef9a Fixed coding standards and improved #11439 2016-07-19 08:42:19 -03:00
Lance Cleveland a74c1e3aa7 Resolved issue #11428.
report.js export_csv of the 'table' data_format will not download if the cell data contains #.   Most likely due to the fact that #<id> is a octect character.

This is a quick fix that strips any # character from table cell data.

There may be a way to escape # however \# nor HTML encoding to %23 resolved the issue.
2016-07-14 08:18:56 -04:00
Jon Brim 1848f63254 Fixed: Blank Exporting Reports
Fix for #11236 adjusted the DOM to the new tree structure in html-report-by-date.php
2016-06-23 09:08:50 -07:00
Mike Jolley 699e007659 Wrap export in quotes to preserve commas
Fixes #10541
2016-03-14 12:26:18 +00:00
Claudio Sanches 62d879e86c Fixed all jshint errors #4680 2015-07-10 02:13:30 -03:00
Claudio Sanches 76b312b9e7 Use always min.js files on admin 2015-07-10 01:32:30 -03:00
Mike Jolley 89704ef36a Fix - Export report CSV.
Closes #7580
2015-03-02 11:44:56 +00:00
Mike Jolley e2eb89ef76 Use UTC date #7276 2015-02-03 15:52:52 +00:00
Mike Jolley 47b9e54797 Hide export csv button when browser lacks support
Closes #6122
2014-08-29 11:29:11 +01:00
Patrick Rauland f83cd143b6 adding year picker to reports section 2014-02-26 16:29:20 -06:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Gregory K 8539e81d79 "export" is a reserved word in JavaScript 2013-11-25 07:18:01 -05:00
Mike Jolley 8104048ddc Export reports to CSVs #3281 2013-07-18 12:56:12 +01:00
Mike Jolley 1c1d60b375 Customer reports 2013-07-09 15:31:22 +01:00
Mike Jolley 72bb335662 by category 2013-06-27 21:34:18 +01:00
Mike Jolley 6f5200de1b By cat 2013-06-27 18:39:55 +01:00
Mike Jolley dcee729de4 class based reports - top sellers and earners, added cache based on query hash 2013-06-26 15:11:33 +01:00
Mike Jolley d30f6b55f2 Reports + sparklines 2013-06-25 14:59:20 +01:00
Mike Jolley d7cfe05daf More charts work 2013-06-24 17:47:28 +01:00