summaryrefslogtreecommitdiffstats
path: root/public/javascripts
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-19 08:30:36 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-19 08:30:36 +0000
commit7d8949e975379e6ce3809ff8dc056cf304038dd9 (patch)
tree717b338df6a9d245a65e1cde8d15fdeb7259f446 /public/javascripts
parent8baddf11bc59d6cffc0a3119fe11b290ff714664 (diff)
downloadredmine-7d8949e975379e6ce3809ff8dc056cf304038dd9.tar.gz
redmine-7d8949e975379e6ce3809ff8dc056cf304038dd9.zip
Show elements titles using jQuery UI tooltips (#31441).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18260 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/application.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 25dc501ea..cf74818a7 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -934,6 +934,17 @@ function setupAttachmentDetail() {
$(window).resize(setFilecontentContainerHeight);
}
+$(function () {
+ $('[title]').tooltip({
+ show: {
+ delay: 400
+ },
+ position: {
+ my: "center bottom-5",
+ at: "center top"
+ }
+ });
+});
$(document).ready(setupAjaxIndicator);
$(document).ready(hideOnLoad);
$(document).ready(addFormObserversForDoubleSubmit);