]> source.dussan.org Git - nextcloud-server.git/commitdiff
changed function name to avoid clash with sharing dropdown
authorSam Tuke <sam@donttravelempty.com>
Thu, 26 Apr 2012 12:41:22 +0000 (13:41 +0100)
committerSam Tuke <sam@donttravelempty.com>
Thu, 26 Apr 2012 12:41:22 +0000 (13:41 +0100)
apps/files_versions/js/versions.js

index 74a7c85070cd3a195b303a2f191533dbd1ece05f..a74096e92589607210579648603f1f11ea2f76e0 100644 (file)
@@ -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">';