Browse Source

Merge pull request #111 from gchq/bug-autobake-reorder

BUGFIX #98: Auto-Bake now triggers when operations are re-ordered.
n1474335 8 years ago
parent
commit
9d4862b5c8
1 changed files with 3 additions and 0 deletions
  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.target.dispatchEvent(this.manager.operationremove);
             }
+        }.bind(this),
+        onSort: function(evt) {
+            document.dispatchEvent(this.manager.statechange);
         }.bind(this)
     });