style: Missing semicolon
This commit is contained in:
parent
a5c6dbf3ed
commit
93523df7d6
4 changed files with 6 additions and 6 deletions
|
|
@ -6,7 +6,7 @@ context('FileUploader', () => {
|
|||
|
||||
function open_upload_dialog() {
|
||||
cy.window().its('frappe').then(frappe => {
|
||||
new frappe.ui.FileUploader()
|
||||
new frappe.ui.FileUploader();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import 'cypress-file-upload'
|
||||
import 'cypress-file-upload';
|
||||
// ***********************************************
|
||||
// This example commands.js shows you how to
|
||||
// create various custom commands and overwrite
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@ frappe.views.CommunicationComposer = Class.extend({
|
|||
var attach = $(fields.select_attachments.wrapper);
|
||||
|
||||
if (!this.attachments) {
|
||||
this.attachments = []
|
||||
this.attachments = [];
|
||||
}
|
||||
|
||||
let args = {
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ frappe.views.InteractionComposer = class InteractionComposer {
|
|||
var attach = $(fields.select_attachments.wrapper);
|
||||
|
||||
if (!this.attachments) {
|
||||
this.attachments = []
|
||||
this.attachments = [];
|
||||
}
|
||||
|
||||
let args = {
|
||||
|
|
@ -136,14 +136,14 @@ frappe.views.InteractionComposer = class InteractionComposer {
|
|||
this.frm.attachments.attachment_uploaded(attachment);
|
||||
this.render_attach();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
$("<h6 class='text-muted add-attachment' style='margin-top: 12px; cursor:pointer;'>"
|
||||
+__("Select Attachments")+"</h6><div class='attach-list'></div>\
|
||||
<p class='add-more-attachments'>\
|
||||
<a class='text-muted small'><i class='octicon octicon-plus' style='font-size: 12px'></i> "
|
||||
+__("Add Attachment")+"</a></p>").appendTo(attach.empty())
|
||||
+__("Add Attachment")+"</a></p>").appendTo(attach.empty());
|
||||
attach
|
||||
.find(".add-more-attachments a")
|
||||
.on('click',() => new frappe.ui.FileUploader(args));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue