Merge pull request #541 from okriuchykhin/ok_SCI_615

Fix moving of the steps after adding a new one [SCI-615]
This commit is contained in:
okriuchykhin 2017-04-06 15:50:01 +02:00 committed by GitHub
commit aa776aaa71

View file

@ -131,6 +131,7 @@ function applyEditCallBack() {
// Set callback for click on edit button
function applyMoveStepCallBack() {
$("[data-action='move-step']").off("ajax:success");
$("[data-action='move-step']")
.on("ajax:success", function(e, data) {
var $step = $(this).closest(".step");