diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index d413bf7471b34..d192149f65364 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -557,7 +557,7 @@ // recreate fileactions container nameLinks = parent.children('a.name'); nameLinks.find('.fileactions, .nametext .action').remove(); - nameLinks.append(''); + nameLinks.append(''); var defaultAction = this.getDefaultFileAction( this.getCurrentMimeType(), this.getCurrentType(), diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 4de3fb4352f05..788f11e1ee9fb 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -422,12 +422,12 @@ var createDragShadow = function(event) { $(selectedFiles).each(function(i,elem) { // TODO: refactor this with the table row creation code - var newtr = $('') + var newtr = $('') .attr('data-dir', dir) .attr('data-file', elem.name) .attr('data-origin', elem.origin); - newtr.append($('').text(elem.name).css('background-size', 32)); - newtr.append($('').text(OC.Util.humanFileSize(elem.size))); + newtr.append($('').text(elem.name).css('background-size', 32)); + newtr.append($('').text(OC.Util.humanFileSize(elem.size))); tbody.append(newtr); if (elem.type === 'dir') { newtr.find('td.filename') diff --git a/apps/files/js/sidebarpreviewtext.js b/apps/files/js/sidebarpreviewtext.js index 3053cd6945d91..f786a9a3e4da4 100644 --- a/apps/files/js/sidebarpreviewtext.js +++ b/apps/files/js/sidebarpreviewtext.js @@ -25,7 +25,7 @@ $thumbnailDiv.removeClass('icon-loading icon-32'); $thumbnailContainer.addClass('large'); $thumbnailContainer.addClass('text'); - var $textPreview = $('
').text(content);
+				var $textPreview = $('
').text(content);
 				$thumbnailDiv.children('.stretcher').remove();
 				$thumbnailDiv.append($textPreview);
 				$thumbnailContainer.css("max-height", previewHeight);
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 12d121afa9a40..5db9fe8fe5290 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -141,7 +141,7 @@ function addSelect2 ($elements, userListLimit) {
 			return element.name;
 		},
 		formatResult: function (element) {
-			var $result = $('
'+escapeHTML(element.displayname)+''); + var $result = $('
'+escapeHTML(element.displayname)+'
'); var $div = $result.find('.avatardiv') .attr('data-type', element.type) .attr('data-name', element.name) diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index ec99d51d34e45..51d78dcbd5a61 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -355,12 +355,12 @@ OCA.Sharing.PublicApp = { }, _showTextPreview: function (data, previewHeight) { - var textDiv = $('
').addClass('text-preview'); + var textDiv = $('
').addClass('text-preview'); textDiv.text(data); textDiv.appendTo('#imgframe'); var divHeight = textDiv.height(); if (data.length > 999) { - var ellipsis = $('
').addClass('ellipsis'); + var ellipsis = $('
').addClass('ellipsis'); ellipsis.html('(…)'); ellipsis.appendTo('#imgframe'); } diff --git a/core/js/dist/login.js b/core/js/dist/login.js index 2c35ee0e5b8d6..a0bc5f53f5bea 100644 --- a/core/js/dist/login.js +++ b/core/js/dist/login.js @@ -68,7 +68,7 @@ a.version="2.29.3",t=kt,a.fn=yn,a.min=function(){var e=[].slice.call(arguments,0 * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * - */var F={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,FILEPICKER_TYPE_CUSTOM:5,dialogsCounter:0,alert:function(e,t,n,r){this.message(e,t,"alert",F.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",F.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",F.YES_NO_BUTTONS,n,r)},confirmDestructive:function(e,t,n,r,a){return this.message(e,t,"none",n,r,void 0===a||a)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",F.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,a,i,o){return s.a.when(this._getMessageTemplate()).then((function(u){var l="oc-dialog-"+F.dialogsCounter+"-content",c="#"+l,f=u.octemplate({dialog_name:l,title:n,message:e,type:"notice"}),p=s()("");p.attr("type",o?"password":"text").attr("id",l+"-input").attr("placeholder",i);var m=s()("