Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clowdflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Shakour
clowdflows
Commits
245a5d6f
Commit
245a5d6f
authored
Oct 24, 2013
by
Anze Vavpetic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if the focus is on #searchBox, don't delete the currently selected widget.
parent
b072fde1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
workflows/static/js/new-script.js
workflows/static/js/new-script.js
+3
-3
No files found.
workflows/static/js/new-script.js
View file @
245a5d6f
...
...
@@ -1289,14 +1289,14 @@ $(function(){
$
(
window
).
keydown
(
function
(
event
)
{
if
(
event
.
keyCode
==
46
)
{
var
dialog_open
=
false
;
var
dialog_open
=
false
,
search_focus
=
$
(
'
#searchBox
'
).
is
(
'
:focus
'
);
$
(
"
.ui-dialog
"
).
each
(
function
()
{
if
(
$
(
this
).
is
(
"
:visible
"
))
{
dialog_open
=
true
;
}
});
if
(
!
dialog_open
)
{
if
(
!
dialog_open
&&
!
search_focus
)
{
deleteSelected
();
}
}
...
...
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