Rewrite project creation component in vanilla js

This commit is contained in:
Frederic Guillot
2016-12-10 11:36:22 -05:00
parent 67d01951f5
commit c0049ed7e6
7 changed files with 29 additions and 21 deletions

View File

@@ -0,0 +1,9 @@
KB.onChange('.js-project-creation-select-options', function (element) {
var projectId = element.value;
if (projectId === '0') {
KB.find('.js-project-creation-options').hide();
} else {
KB.find('.js-project-creation-options').show();
}
});