Rename HTML attributes referencing poll options
Since now poll question answers have been renamed to poll question options, using HTML IDs, classes and data attributes named `answer` was confusing.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
update: function() {
|
||||
var new_order;
|
||||
new_order = $(this).sortable("toArray", {
|
||||
attribute: "data-answer-id"
|
||||
attribute: "data-option-id"
|
||||
});
|
||||
$.ajax({
|
||||
url: $(this).data("js-url"),
|
||||
|
||||
Reference in New Issue
Block a user