Skip to content

Commit

Permalink
Merge pull request #105 from open-craft/haikuginger/fix-background-bu…
Browse files Browse the repository at this point in the history
…tton

[SOL-2077] Prevent 'Change Background' button from forcing form submission
  • Loading branch information
haikuginger authored Sep 23, 2016
2 parents 85c6143 + 8441f33 commit 45b0e1a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
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)
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion drag_and_drop_v2/templates/html/drag_and_drop_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h3>{% trans "Zones" %}</h3>
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>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 45b0e1a

Please sign in to comment.