mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Update Tribute to 5.1.3 (#33424).
git-svn-id: http://svn.redmine.org/redmine/trunk@19785 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1063,6 +1063,9 @@ function inlineAutoComplete(element) {
|
||||
requireLeadingSpace: true,
|
||||
selectTemplate: function (issue) {
|
||||
return '#' + issue.original.id;
|
||||
},
|
||||
noMatchTemplate: function () {
|
||||
return '<span style:"visibility: hidden;"></span>';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
2
public/javascripts/tribute-3.7.3.min.js
vendored
2
public/javascripts/tribute-3.7.3.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/javascripts/tribute-5.1.3.min.js
vendored
Normal file
2
public/javascripts/tribute-5.1.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,27 +0,0 @@
|
||||
.tribute-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: auto;
|
||||
max-height: 300px;
|
||||
max-width: 500px;
|
||||
overflow: auto;
|
||||
display: block;
|
||||
z-index: 999999; }
|
||||
.tribute-container ul {
|
||||
margin: 0;
|
||||
margin-top: 2px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
background: #efefef; }
|
||||
.tribute-container li {
|
||||
padding: 5px 5px;
|
||||
cursor: pointer; }
|
||||
.tribute-container li.highlight {
|
||||
background: #ddd; }
|
||||
.tribute-container li span {
|
||||
font-weight: bold; }
|
||||
.tribute-container li.no-match {
|
||||
cursor: default; }
|
||||
.tribute-container .menu-highlighted {
|
||||
font-weight: bold; }
|
||||
34
public/stylesheets/tribute-5.1.3.css
Normal file
34
public/stylesheets/tribute-5.1.3.css
Normal file
@@ -0,0 +1,34 @@
|
||||
.tribute-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: auto;
|
||||
max-height: 300px;
|
||||
max-width: 500px;
|
||||
overflow: auto;
|
||||
display: block;
|
||||
z-index: 999999;
|
||||
}
|
||||
.tribute-container ul {
|
||||
margin: 0;
|
||||
margin-top: 2px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
background: #efefef;
|
||||
}
|
||||
.tribute-container li {
|
||||
padding: 5px 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.tribute-container li.highlight {
|
||||
background: #ddd;
|
||||
}
|
||||
.tribute-container li span {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tribute-container li.no-match {
|
||||
cursor: default;
|
||||
}
|
||||
.tribute-container .menu-highlighted {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user