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
5ab159b0
Commit
5ab159b0
authored
Apr 03, 2014
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix the failing JavaScript test
parent
230c0b5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
33 deletions
+47
-33
cms/templates/js/mock/mock-modal.underscore
+3
-3
common/lib/xmodule/xmodule/js/fixtures/tabs-edit.html
+44
-30
No files found.
cms/templates/js/mock/mock-modal.underscore
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>
common/lib/xmodule/xmodule/js/fixtures/tabs-edit.html
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>
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