diff options
Diffstat (limited to 'assets/js/src/App.js')
-rw-r--r-- | assets/js/src/App.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/assets/js/src/App.js b/assets/js/src/App.js index 66a0c81c..b20a73c1 100644 --- a/assets/js/src/App.js +++ b/assets/js/src/App.js @@ -6,7 +6,7 @@ function App() { this.dropdown = new Dropdown(); this.tooltip = new Tooltip(this); this.popover = new Popover(this); - this.task = new Task(); + this.task = new Task(this); this.project = new Project(); this.subtask = new Subtask(this); this.column = new Column(this); @@ -19,16 +19,6 @@ function App() { $(".alert-fade-out").delay(4000).fadeOut(800, function() { $(this).remove(); }); - - // Reload page when a destination project is changed - var reloading_project = false; - $("select.task-reload-project-destination").change(function() { - if (! reloading_project) { - $(".loading-icon").show(); - reloading_project = true; - window.location = $(this).data("redirect").replace(/PROJECT_ID/g, $(this).val()); - } - }); } App.prototype.listen = function() { |