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
G
glpi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
GLPI
glpi
Commits
b289b8e1
Commit
b289b8e1
authored
Jan 13, 2021
by
Edgard Lorraine Messias
Committed by
Johan Cwiklinski
Jan 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dialog position for planning page
parent
6cf9d5d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
js/planning.js
js/planning.js
+19
-3
No files found.
js/planning.js
View file @
b289b8e1
...
...
@@ -523,7 +523,15 @@ var GLPIPlanning = {
}
})
.
load
(
ajaxurl
,
function
()
{
$
(
this
).
dialog
(
'
option
'
,
'
position
'
,
[
'
center
'
,
'
center
'
]
);
$
(
this
).
dialog
({
position
:
{
my
:
'
center
'
,
at
:
'
center
'
,
viewport
:
$
(
window
),
of
:
$
(
'
#page
'
),
collision
:
'
fit
'
}
});
});
}
},
...
...
@@ -565,7 +573,15 @@ var GLPIPlanning = {
res_items_id
:
items_id
,
},
function
()
{
$
(
this
).
dialog
(
'
option
'
,
'
position
'
,
[
'
center
'
,
'
center
'
]
);
$
(
this
).
dialog
({
position
:
{
my
:
'
center
'
,
at
:
'
center
'
,
viewport
:
$
(
window
),
of
:
$
(
'
#page
'
),
collision
:
'
fit
'
}
});
}
);
},
...
...
@@ -575,7 +591,7 @@ var GLPIPlanning = {
},
position
:
{
my
:
'
center
'
,
at
:
'
top
'
,
at
:
'
center
top
'
,
viewport
:
$
(
window
),
of
:
$
(
'
#page
'
)
}
...
...
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