Rewrite project creation component in vanilla js
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user