Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
agkyra
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
agkyra
Commits
7b69a4d4
Commit
7b69a4d4
authored
9 years ago
by
Stavros Sachtouris
Committed by
Giorgos Korfiatis
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
GUI: Don't open Settings when decision box is open
parent
7a3ab683
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
agkyra/resources/nwgui/protocol.js
+2
-0
2 additions, 0 deletions
agkyra/resources/nwgui/protocol.js
with
2 additions
and
0 deletions
agkyra/resources/nwgui/protocol.js
+
2
−
0
View file @
7b69a4d4
...
...
@@ -108,7 +108,9 @@ socket.onopen = function() {
socket
.
onmessage
=
function
(
e
)
{
var
r
=
JSON
.
parse
(
e
.
data
)
log_debug
(
'
RECV:
'
+
r
[
'
action
'
]);
dont_open_settings
=
[
STATUS
[
'
DIRECTORY ERROR
'
],
STATUS
[
'
CONTAINER ERROR
'
]];
if
(
globals
.
authenticated
&&
r
.
code
>=
200
&&
(
dont_open_settings
.
indexOf
(
r
.
code
)
==
-
1
)
&&
(
r
.
code
!==
(
globals
.
previous_status
||
0
))
&&
(
!
globals
.
settings_are_open
))
{
globals
.
open_settings
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment