Commit 45b0e1a6 by Jesse Shapiro Committed by GitHub

Merge pull request #105 from open-craft/haikuginger/fix-background-button

[SOL-2077] Prevent 'Change Background' button from forcing form submission
parents 85c6143c 8441f331
......@@ -9,7 +9,7 @@ install:
- "sh install_test_deps.sh"
- "pip uninstall -y xblock-drag-and-drop-v2"
- "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:
- pep8 drag_and_drop_v2 tests --max-line-length=120
- 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)
--------------------------
......
......@@ -94,7 +94,7 @@
type="text"
aria-describedby="background-url-{{id_suffix}}" />
</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">
{% trans "For example, 'http://example.com/background.png' or '/static/background.png'." %}
</div>
......
......@@ -23,7 +23,7 @@ def package_data(pkg, root_list):
setup(
name='xblock-drag-and-drop-v2',
version='2.0.9',
version='2.0.10',
description='XBlock - Drag-and-Drop v2',
packages=['drag_and_drop_v2'],
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