summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authorSam Tuke <sam@donttravelempty.com>2012-04-26 13:41:22 +0100
committerSam Tuke <sam@donttravelempty.com>2012-04-26 13:41:22 +0100
commit02c1127de302be4308e1ba5c37ae04242381a5df (patch)
treecaaa8bdd20c978d75fc72b07c2688966f1c70f43 /apps/files_versions/js
parent4bb1a2c2d631db32fe6b083532074dbffd80ef61 (diff)
downloadnextcloud-server-02c1127de302be4308e1ba5c37ae04242381a5df.tar.gz
nextcloud-server-02c1127de302be4308e1ba5c37ae04242381a5df.zip
changed function name to avoid clash with sharing dropdown
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r--apps/files_versions/js/versions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index 74a7c85070c..a74096e9258 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -7,7 +7,7 @@ $(document).ready(function(){
var file = $('#dir').val()+'/'+filename;
- createDropdown(filename, file)
+ createVersionsDropdown(filename, file)
//window.location='../apps/files_versions/history.php?path='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename);
@@ -16,7 +16,7 @@ $(document).ready(function(){
});
-function createDropdown(filename, files) {
+function createVersionsDropdown(filename, files) {
var html = '<div id="dropdown" class="drop" data-file="'+files+'">';
html += '<div id="private">';