summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2015-07-23 19:25:09 +0200
committerBernhard Posselt <Raydiation@users.noreply.github.com>2015-07-23 19:25:09 +0200
commit582f07950f45d9e0bdfa8faaefa105cad5d39420 (patch)
tree83582e253b040995dfe8b337b137e49448087903 /apps/files/js/files.js
parent01b7e306c427f00d1ce4570c3d1bc90f72e25644 (diff)
parent03a6e12bdb77242d38e08c9f3c78076e499bcaff (diff)
downloadnextcloud-server-582f07950f45d9e0bdfa8faaefa105cad5d39420.tar.gz
nextcloud-server-582f07950f45d9e0bdfa8faaefa105cad5d39420.zip
Merge pull request #17075 from owncloud/bootstrap-tooltip
Replace jQuery tipsy with bootstrap tooltip
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 1b498769dd6..034045ee40b 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -61,7 +61,7 @@
if (response.data !== undefined && response.data.uploadMaxFilesize !== undefined) {
$('#max_upload').val(response.data.uploadMaxFilesize);
$('#free_space').val(response.data.freeSpace);
- $('#upload.button').attr('original-title', response.data.maxHumanFilesize);
+ $('#upload.button').attr('data-original-title', response.data.maxHumanFilesize);
$('#usedSpacePercent').val(response.data.usedSpacePercent);
$('#owner').val(response.data.owner);
$('#ownerDisplayName').val(response.data.ownerDisplayName);
@@ -72,7 +72,7 @@
}
if (response[0].uploadMaxFilesize !== undefined) {
$('#max_upload').val(response[0].uploadMaxFilesize);
- $('#upload.button').attr('original-title', response[0].maxHumanFilesize);
+ $('#upload.button').attr('data-original-title', response[0].maxHumanFilesize);
$('#usedSpacePercent').val(response[0].usedSpacePercent);
Files.displayStorageWarnings();
}