Przeglądaj źródła

BUGFIX #98: Auto-Bake now triggers when operations are re-ordered.

n1474335 8 lat temu
rodzic
commit
2a07999db6
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      src/web/RecipeWaiter.js

+ 3 - 0
src/web/RecipeWaiter.js

@@ -43,6 +43,9 @@ RecipeWaiter.prototype.initialiseOperationDragNDrop = function() {
                 evt.item.remove();
                 evt.item.remove();
                 evt.target.dispatchEvent(this.manager.operationremove);
                 evt.target.dispatchEvent(this.manager.operationremove);
             }
             }
+        }.bind(this),
+        onSort: function(evt) {
+            document.dispatchEvent(this.manager.statechange);
         }.bind(this)
         }.bind(this)
     });
     });