Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2e675fdc
Commit
2e675fdc
authored
Jun 12, 2017
by
Muhammad Ammar
Committed by
GitHub
Jun 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15256 from edx/ammar/edu-292-move-dialog-fix
move dialog fix
parents
2b25c9fc
090ce1d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
cms/static/js/views/modals/move_xblock_modal.js
+4
-0
cms/static/sass/elements/_modal-window.scss
+5
-2
No files found.
cms/static/js/views/modals/move_xblock_modal.js
View file @
2e675fdc
...
...
@@ -89,6 +89,10 @@ function($, Backbone, _, gettext, BaseView, XBlockViewUtils, MoveXBlockUtils, Ht
Feedback
.
prototype
.
outFocus
.
apply
(
this
);
},
resize
:
function
()
{
// Do Nothing. Overridden to use our own styling instead of one provided by base modal
},
focusModal
:
function
()
{
Feedback
.
prototype
.
inFocus
.
apply
(
this
,
[
this
.
options
.
modalWindowClass
]);
$
(
this
.
options
.
modalWindowClass
).
focus
();
...
...
cms/static/sass/elements/_modal-window.scss
View file @
2e675fdc
...
...
@@ -288,8 +288,11 @@
// ------------------------
// Move XBlock Modal
.modal-window.move-modal
{
top
:
10%
!
important
;
.move-modal
{
position
:
fixed
;
left
:
50%
;
top
:
50%
;
@include
transform
(
translate
(
-50%
,-
50%
));
}
.move-xblock-modal
{
...
...
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