aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/js
diff options
context:
space:
mode:
authorSam Tuke <samtuke@jack-laptop.(none)>2012-04-27 13:19:16 +0100
committerSam Tuke <samtuke@jack-laptop.(none)>2012-04-27 13:19:16 +0100
commit80c850d018baceca3a6197a7c21651c58d0edc25 (patch)
tree6bf962e30bf88e2e5397f598e0ec18938a38c4a8 /apps/files_versions/js
parent768041b6cba5e8d4614e17d2ad492c855ec740a0 (diff)
downloadnextcloud-server-80c850d018baceca3a6197a7c21651c58d0edc25.tar.gz
nextcloud-server-80c850d018baceca3a6197a7c21651c58d0edc25.zip
added revert attempt outcome messages, removed contextual ajax revert button for now as it's not functional, improved readaibility of scripts
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r--apps/files_versions/js/versions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index a9e60a0cfa6..c2dfcd9f3b6 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -31,11 +31,11 @@ function createVersionsDropdown(filename, files) {
var html = '<div id="dropdown" class="drop" data-file="'+files+'">';
html += '<div id="private">';
html += '<select data-placeholder="File Version" id="found_versions" class="chzen-select">';
- html += '<option value="">Select version</option>';
+ html += '<option value="">Saved versions</option>';
html += '</select>';
html += '</div>';
- html += '<input type="button" value="Revert file" onclick="revertFile()" />';
- html += '<input type="button" value="More..." onclick="window.location=\''+historyUrl+'\'" name="makelink" id="makelink" />';
+ //html += '<input type="button" value="Revert file" onclick="revertFile()" />';
+ html += '<input type="button" value="Revert file..." onclick="window.location=\''+historyUrl+'\'" name="makelink" id="makelink" />';
html += '<br />';
html += '<input id="link" style="display:none; width:90%;" />';