removed invalid destroy calls to daterangepicker (#3371)
This commit is contained in:
@@ -64,7 +64,6 @@ export default class KimaiDatePicker extends KimaiPlugin {
|
||||
destroyDatePicker(selector) {
|
||||
jQuery(selector + ' ' + this.selector).each(function(index) {
|
||||
if (jQuery(this).data('daterangepicker') !== undefined) {
|
||||
jQuery(this).daterangepicker('destroy');
|
||||
jQuery(this).data('daterangepicker').remove();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -87,7 +87,6 @@ export default class KimaiDateRangePicker extends KimaiPlugin {
|
||||
destroyDateRangePicker(selector) {
|
||||
jQuery(selector + ' ' + this.selector).each(function(index) {
|
||||
if (jQuery(this).data('daterangepicker') !== undefined) {
|
||||
jQuery(this).daterangepicker('destroy');
|
||||
jQuery(this).data('daterangepicker').remove();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -67,7 +67,6 @@ export default class KimaiDateTimePicker extends KimaiPlugin {
|
||||
destroyDateTimePicker(selector) {
|
||||
jQuery(selector + ' ' + this.selector).each(function(index) {
|
||||
if (jQuery(this).data('daterangepicker') !== undefined) {
|
||||
jQuery(this).daterangepicker('destroy');
|
||||
jQuery(this).data('daterangepicker').remove();
|
||||
}
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
public/build/app.18632e12.js
Normal file
2
public/build/app.18632e12.js
Normal file
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@
|
||||
"app": {
|
||||
"js": [
|
||||
"build/runtime.b8e7bb04.js",
|
||||
"build/app.0cc41cd4.js"
|
||||
"build/app.18632e12.js"
|
||||
],
|
||||
"css": [
|
||||
"build/app.4cf06f88.css"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"build/app.css": "build/app.4cf06f88.css",
|
||||
"build/app.js": "build/app.0cc41cd4.js",
|
||||
"build/app.js": "build/app.18632e12.js",
|
||||
"build/invoice.css": "build/invoice.ccdecd42.css",
|
||||
"build/invoice.js": "build/invoice.19f36eca.js",
|
||||
"build/invoice-pdf.css": "build/invoice-pdf.e73a6dda.css",
|
||||
|
||||
Reference in New Issue
Block a user