Skip to content

Commit bf03feb

Browse files
committed
fix the "empty your basket" button
1 parent 2d2d978 commit bf03feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/static/js/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2453,7 +2453,7 @@ $(document).ready(function() {
24532453
;
24542454
}
24552455
Editor.empty_basket = function() {
2456-
fetch(Editor.url_prefix+'question_basket/empty/',{method: 'POST', body: CSRFFormData({id: id})})
2456+
fetch(Editor.url_prefix+'question_basket/empty/',{method: 'POST', body: CSRFFormData({})})
24572457
.then(response => response.text()).then(response => {
24582458
document.querySelector('#question_basket .dropdown-menu').innerHTML = response;
24592459
update_basket();

0 commit comments

Comments
 (0)