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
a75003ef
Commit
a75003ef
authored
Jan 11, 2013
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added no_slide parameters
parent
782fb3b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
common/lib/xmodule/xmodule/gst_module.py
+4
-1
No files found.
common/lib/xmodule/xmodule/gst_module.py
View file @
a75003ef
...
...
@@ -102,7 +102,9 @@ class GraphicalSliderToolModule(XModule):
#substitute sliders
slider_div
=
'<div class="{element_class}_slider"
\
id="{element_id}_slider_{var}"
\
data-var="{var}" style="{style}">
\
data-var="{var}"
\
data-on_event="{on_event}"
\
style="{style}">
\
</div>'
slider_els
=
xml
.
xpath
(
'//slider'
)
for
slider_el
in
slider_els
:
...
...
@@ -110,6 +112,7 @@ class GraphicalSliderToolModule(XModule):
slider_div
.
format
(
element_class
=
self
.
html_class
,
element_id
=
self
.
html_id
,
var
=
slider_el
.
get
(
'var'
,
""
),
on_event
=
slider_el
.
get
(
'on_event'
,
'slide'
),
style
=
slider_el
.
get
(
'style'
,
""
))))
# substitute inputs aka textboxes
...
...
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