Commit 8441f331 by Jesse Shapiro

Prevent 'Change Background' button from forcing form submission; version bump to 2.0.10

parent d6b36969
...@@ -9,7 +9,7 @@ install: ...@@ -9,7 +9,7 @@ install:
- "sh install_test_deps.sh" - "sh install_test_deps.sh"
- "pip uninstall -y xblock-drag-and-drop-v2" - "pip uninstall -y xblock-drag-and-drop-v2"
- "python setup.py sdist" - "python setup.py sdist"
- "pip install dist/xblock-drag-and-drop-v2-2.0.9.tar.gz" - "pip install dist/xblock-drag-and-drop-v2-2.0.10.tar.gz"
script: script:
- pep8 drag_and_drop_v2 tests --max-line-length=120 - pep8 drag_and_drop_v2 tests --max-line-length=120
- pylint drag_and_drop_v2 - pylint drag_and_drop_v2
......
Version 2.0.10 (2016-09-22)
---------------------------
* ([#97](https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/97)) Added "item" field to item.dropped event
* ([#101](https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/101)) Implement "show answer" button
* ([#103](https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/103)) Miscellaneous UI fixes
* ([#105](https://github.com/edx-solutions/xblock-drag-and-drop-v2/pull/105)) Correct an issue with background image selection
Version 2.0.9 (2016-09-01) Version 2.0.9 (2016-09-01)
-------------------------- --------------------------
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
type="text" type="text"
aria-describedby="background-url-{{id_suffix}}" /> aria-describedby="background-url-{{id_suffix}}" />
</label> </label>
<button class="btn">{% trans "Change background" %}</button> <button type="button" class="btn">{% trans "Change background" %}</button>
<div id="background-url-description-{{id_suffix}}" class="form-help"> <div id="background-url-description-{{id_suffix}}" class="form-help">
{% trans "For example, 'http://example.com/background.png' or '/static/background.png'." %} {% trans "For example, 'http://example.com/background.png' or '/static/background.png'." %}
</div> </div>
......
...@@ -23,7 +23,7 @@ def package_data(pkg, root_list): ...@@ -23,7 +23,7 @@ def package_data(pkg, root_list):
setup( setup(
name='xblock-drag-and-drop-v2', name='xblock-drag-and-drop-v2',
version='2.0.9', version='2.0.10',
description='XBlock - Drag-and-Drop v2', description='XBlock - Drag-and-Drop v2',
packages=['drag_and_drop_v2'], packages=['drag_and_drop_v2'],
install_requires=[ install_requires=[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment