style: Missing semicolon

This commit is contained in:
Faris Ansari 2019-04-13 15:49:21 +05:30
parent a5c6dbf3ed
commit 93523df7d6
4 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@ context('FileUploader', () => {
function open_upload_dialog() {
cy.window().its('frappe').then(frappe => {
new frappe.ui.FileUploader()
new frappe.ui.FileUploader();
});
}

View file

@ -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

View file

@ -360,7 +360,7 @@ frappe.views.CommunicationComposer = Class.extend({
var attach = $(fields.select_attachments.wrapper);
if (!this.attachments) {
this.attachments = []
this.attachments = [];
}
let args = {

View file

@ -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));