aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 19:09:15 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 19:55:51 +0100
commit75edcad54914a0c092fcf2eda5c22c379c93d71e (patch)
tree2dce34ef9b0e249d0d12206a454d54d40dbea0fc /apps
parent96bc1397b1d03d52da1befb685f331be5183e782 (diff)
downloadnextcloud-server-75edcad54914a0c092fcf2eda5c22c379c93d71e.tar.gz
nextcloud-server-75edcad54914a0c092fcf2eda5c22c379c93d71e.zip
Replace double quotes with single quotes
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js2
-rw-r--r--apps/files/js/navigation.js14
2 files changed, 8 insertions, 8 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 44d607ada49..685cb03fed9 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -360,7 +360,7 @@
this.$fileList.on('click','td.filename>a.name, td.filesize, td.date', _.bind(this._onClickFile, this));
- this.$fileList.on("droppedOnTrash", function (event, filename, directory) {
+ this.$fileList.on('droppedOnTrash', function (event, filename, directory) {
self.do_delete(filename, directory);
});
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index 877b3184a51..8ef9342aea7 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -65,7 +65,7 @@
this.$el.on('click', 'li a', _.bind(this._onClickItem, this));
this.$el.on('click', 'li button', _.bind(this._onClickMenuButton, this));
- var trashElement=$(".nav-trashbin");
+ var trashElement=$('.nav-trashbin');
trashElement.droppable({
over: function( event, ui ) {
trashElement.addClass('dropzone-background');
@@ -74,24 +74,24 @@
trashElement.removeClass('dropzone-background');
},
activate: function( event, ui ) {
- var elem=trashElement.find("a").first();
+ var elem=trashElement.find('a').first();
elem.addClass('nav-icon-trashbin-starred').removeClass('nav-icon-trashbin');
},
deactivate: function( event, ui ) {
- var elem=trashElement.find("a").first();
+ var elem=trashElement.find('a').first();
elem.addClass('nav-icon-trashbin').removeClass('nav-icon-trashbin-starred');
},
drop: function( event, ui ) {
var $selectedFiles = $(ui.draggable);
- if (ui.helper.find("tr").size()===1) {
+ if (ui.helper.find('tr').size()===1) {
var $tr = $selectedFiles.closest('tr');
- $selectedFiles.trigger("droppedOnTrash", $tr.attr("data-file"), $tr.attr('data-dir'));
+ $selectedFiles.trigger('droppedOnTrash', $tr.attr('data-file'), $tr.attr('data-dir'));
}else{
- var item = ui.helper.find("tr");
+ var item = ui.helper.find('tr');
for(var i=0; i<item.length;i++){
- $selectedFiles.trigger("droppedOnTrash", item[i].getAttribute("data-file"), item[i].getAttribute("data-dir"));
+ $selectedFiles.trigger('droppedOnTrash', item[i].getAttribute('data-file'), item[i].getAttribute('data-dir'));
}
}
}