Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Hsin-Yu Chien
edx-platform-release
Commits
5ab159b0
Commit
5ab159b0
authored
11 years ago
by
Andy Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Try to fix the failing JavaScript test
parent
230c0b5b
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/templates/js/mock/mock-modal.underscore
+3
-3
3 additions, 3 deletions
cms/templates/js/mock/mock-modal.underscore
common/lib/xmodule/xmodule/js/fixtures/tabs-edit.html
+44
-30
44 additions, 30 deletions
common/lib/xmodule/xmodule/js/fixtures/tabs-edit.html
with
47 additions
and
33 deletions
cms/templates/js/mock/mock-modal.underscore
+
3
−
3
View file @
5ab159b0
<div class="wrapper wrapper-modal-window wrapper-modal-window-mock">
<div class="modal-window confirm modal-editor modal-lg modal-type-
<%= xblockInfo.get('category')
%>">
<
form
class="edit-xblock-modal" action="#">
<div class="modal-window confirm modal-editor modal-lg modal-type-
html
%>">
<
div
class="edit-xblock-modal" action="#">
<div class="modal-header">
<h2 class="title modal-window-title">Mock Modal Title</h2>
</div>
...
...
@@ -17,6 +17,6 @@
</li>
</ul>
</div>
</
form
>
</
div
>
</div>
</div>
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/js/fixtures/tabs-edit.html
+
44
−
30
View file @
5ab159b0
<div
class=
"component-editor"
>
<div
class=
"base_wrapper"
>
<section
class=
"editor-with-tabs"
>
<div
class=
"wrapper-comp-editor"
id=
"editor-tab-id"
data-html_id=
'test_id'
>
<div
class=
"edit-header"
>
<ul
class=
"editor-tabs"
>
<li
class=
"inner_tab_wrap"
><a
href=
"#tab-0"
class=
"tab"
>
Tab 0 Editor
</a></li>
<li
class=
"inner_tab_wrap"
><a
href=
"#tab-1"
class=
"tab"
>
Tab 1 Transcripts
</a></li>
<li
class=
"inner_tab_wrap"
id=
"settings"
><a
href=
"#tab-2"
class=
"tab"
>
Tab 2 Settings
</a></li>
</ul>
</div>
<div
class=
"tabs-wrapper"
>
<div
class=
"component-tab"
id=
"tab-0"
>
<textarea
name=
""
class=
"edit-box"
>
XML Editor Text
</textarea>
</div>
<div
class=
"component-tab"
id=
"tab-1"
>
Transcripts
</div>
<div
class=
"component-tab"
id=
"tab-2"
>
Subtitles
<div
class=
"wrapper wrapper-modal-window wrapper-modal-window-mock"
>
<div
class=
"modal-window confirm modal-editor modal-lg modal-type-<%= xblockInfo.get('category') %>"
>
<div
class=
"edit-xblock-modal"
action=
"#"
>
<div
class=
"modal-header"
>
<h2
class=
"title modal-window-title"
>
Mock Modal Title
</h2>
</div>
<div
class=
"modal-content"
>
<section
class=
"editor-with-tabs"
>
<div
class=
"wrapper-comp-editor"
id=
"editor-tab-id"
data-html_id=
'test_id'
>
<div
class=
"edit-header"
>
<ul
class=
"editor-tabs"
>
<li
class=
"inner_tab_wrap"
><a
href=
"#tab-0"
class=
"tab"
>
Tab 0 Editor
</a></li>
<li
class=
"inner_tab_wrap"
><a
href=
"#tab-1"
class=
"tab"
>
Tab 1 Transcripts
</a></li>
<li
class=
"inner_tab_wrap"
id=
"settings"
><a
href=
"#tab-2"
class=
"tab"
>
Tab 2 Settings
</a></li>
</ul>
</div>
<div
class=
"tabs-wrapper"
>
<div
class=
"component-tab"
id=
"tab-0"
>
<textarea
name=
""
class=
"edit-box"
>
XML Editor Text
</textarea>
</div>
<div
class=
"component-tab"
id=
"tab-1"
>
Transcripts
</div>
<div
class=
"component-tab"
id=
"tab-2"
>
Subtitles
</div>
</div>
<div
class=
"wrapper-comp-settings"
>
<ul>
<li
id=
"editor-mode"
><a>
Editor
</a></li>
<li
id=
"settings-mode"
><a>
Settings
</a></li>
</ul>
</div>
</div>
</div>
<div
class=
"wrapper-comp-settings"
>
<ul>
<li
id=
"editor-mode"
><a>
Editor
</a></li>
<li
id=
"settings-mode"
><a>
Settings
</a></li>
</section>
</div>
<div
class=
"modal-actions"
>
<ul>
<li
class=
"action-item"
>
<a
href=
"#"
class=
"button action-primary action-save"
>
Save
</a>
</li>
<li
class=
"action-item"
>
<a
href=
"#"
class=
"button action-secondary action-cancel"
>
Cancel
</a>
</li>
</ul>
</div>
</div>
</section>
<div
class=
"component-edit-header"
style=
"display: block"
/>
</div>
</div>
</div>
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