sf-i-events 1.0.396 → 1.0.397
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/package.json +1 -1
- package/sf-i-events.js +14 -13
- package/sf-i-events.js.map +1 -1
- package/src/sf-i-events.ts +13 -13
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -7517,19 +7517,20 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
7517
7517
|
const comments = this._SfDetailContainer.querySelector('#input-approver-comments').value;
|
|
7518
7518
|
const approved = this._SfDetailContainer.querySelector('#input-approve-yes').checked;
|
|
7519
7519
|
await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved);
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7520
|
+
var clickEvent = new MouseEvent("click", {
|
|
7521
|
+
"view": window,
|
|
7522
|
+
"bubbles": true,
|
|
7523
|
+
"cancelable": false
|
|
7524
|
+
});
|
|
7525
|
+
this._SfDetailContainer.querySelector('#button-detail-close').dispatchEvent(clickEvent);
|
|
7526
|
+
if (this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
7527
|
+
this.processDateSelection();
|
|
7528
|
+
}
|
|
7529
|
+
else {
|
|
7530
|
+
if (currentColumnButton != null) {
|
|
7531
|
+
currentColumnButton.click();
|
|
7532
|
+
}
|
|
7533
|
+
}
|
|
7533
7534
|
});
|
|
7534
7535
|
(_j = this._SfDetailContainer.querySelector('#button-uploader-submit-audit')) === null || _j === void 0 ? void 0 : _j.addEventListener('click', async () => {
|
|
7535
7536
|
const comments = this._SfDetailContainer.querySelector('#input-auditor-comments').value;
|