summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-10 11:36:22 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-10 11:36:22 -0500
commitc0049ed7e6459b234e69b763e82baca349763a4b (patch)
tree8d2ddb30656d60358048c1166b697ae7d9662db5 /assets/js/src
parent67d01951f5a0a8e2201707162c1f7454f26ac798 (diff)
Rewrite project creation component in vanilla js
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/ProjectCreation.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/assets/js/src/ProjectCreation.js b/assets/js/src/ProjectCreation.js
deleted file mode 100644
index 180eab94..00000000
--- a/assets/js/src/ProjectCreation.js
+++ /dev/null
@@ -1,15 +0,0 @@
-Kanboard.ProjectCreation = function(app) {
- this.app = app;
-};
-
-Kanboard.ProjectCreation.prototype.onPopoverOpened = function() {
- $('#project-creation-form #form-src_project_id').on('change', function() {
- var srcProjectId = $(this).val();
-
- if (srcProjectId == 0) {
- $(".project-creation-options").hide();
- } else {
- $(".project-creation-options").show();
- }
- });
-};