Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
pm-tools
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Yaroslav Lushnikov
pm-tools
Commits
86fee407
Commit
86fee407
authored
Aug 28, 2019
by
Yaroslav Lushnikov
🦆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add key to open select
Add release
parent
70814f77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
select2.js
extension/scripts/pm/select2.js
+10
-1
pm-tools-0.0.6.zip
releases/pm-tools-0.0.6.zip
+0
-0
No files found.
extension/scripts/pm/select2.js
View file @
86fee407
(
function
(
$
)
{
$
(
'#project_quick_jump_box'
).
select2
().
change
(
function
()
{
var
element
=
$
(
'#project_quick_jump_box'
);
element
.
select2
().
change
(
function
()
{
this
.
value
?
(
window
.
location
=
this
.
value
)
:
''
;
});
$
(
':not(input):not(textarea)'
).
keypress
(
function
(
e
)
{
if
(
e
.
target
.
tagName
!=
'INPUT'
&&
e
.
target
.
tagName
!=
'TEXTAREA'
)
{
if
(
e
.
charCode
==
102
||
e
.
charCode
==
1072
)
{
element
.
select2
(
'open'
);
}
}
});
})(
jQuery
);
releases/pm-tools-0.0.6.zip
0 → 100644
View file @
86fee407
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment