From dc49ffa5bf11436f98f48eacdfe8f9d9f763e42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szab=C3=B3=20J=C3=B3zsef?= Date: Thu, 25 Feb 2016 12:55:25 +0100 Subject: [PATCH] Continue button not always visible continue button not always visible when all statments joined to grid, because drag&drop event not setted the statments correctly http://recordit.co/4AxuCn3XmH --- src/htmlq.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/htmlq.js b/src/htmlq.js index c316604..de900c6 100644 --- a/src/htmlq.js +++ b/src/htmlq.js @@ -638,7 +638,9 @@ angular.module('app', ['ui.router', 'ui.bootstrap']) }); if (scope.swappable === 'false') { - return; + // to solve this bug: http://recordit.co/4AxuCn3XmH + // continue button not always visible when all statments joined to grid, because drag&drop event not setted the statments correctly + (element).draggable({revert: "invalid"}); } $(element).droppable({