@seafile/seafile-calendar 1.0.11-beta.1 → 1.0.11-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Calendar.js +3 -3
- package/lib/Calendar.js +3 -3
- package/package.json +1 -1
package/es/Calendar.js
CHANGED
|
@@ -368,9 +368,9 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
368
368
|
|
|
369
369
|
this.onClear = function () {
|
|
370
370
|
console.log('onClear');
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
371
|
+
_this2.onSelect(null, { source: 'clear' });
|
|
372
|
+
_this2.props.onClear();
|
|
373
|
+
_this2.setState({ currentStatus: CALENDAR_STATUS.CURRENT_TIME });
|
|
374
374
|
};
|
|
375
375
|
|
|
376
376
|
this.onOk = function () {
|
package/lib/Calendar.js
CHANGED
|
@@ -432,9 +432,9 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
432
432
|
|
|
433
433
|
this.onClear = function () {
|
|
434
434
|
console.log('onClear');
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
_this2.onSelect(null, { source: 'clear' });
|
|
436
|
+
_this2.props.onClear();
|
|
437
|
+
_this2.setState({ currentStatus: _util.CALENDAR_STATUS.CURRENT_TIME });
|
|
438
438
|
};
|
|
439
439
|
|
|
440
440
|
this.onOk = function () {
|