Merge pull request #44 from sedovsek/patch-1

Bug: Plugin used to break on empty strings.
pull/45/head
Allan Jardine 11 years ago
commit 3707584eb2

@ -19,6 +19,8 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"date-eu-pre": function ( date ) {
date = date.replace(" ", "");
var eu_date, year;
if (date == '') return 0;
if (date.indexOf('.') > 0) {
/*date a, format dd.mn.(yyyy) ; (year is optional)*/

Loading…
Cancel
Save