Display project exports in modal box

This commit is contained in:
Frederic Guillot
2017-01-08 15:31:33 -05:00
parent b3a450bace
commit ca00b8cf53
13 changed files with 74 additions and 81 deletions

View File

@@ -0,0 +1,9 @@
KB.onClick('.js-form-export', function(e) {
var formElement = document.querySelector('#modal-content form');
var fromElement = formElement.querySelector('#form-from');
var toElement = formElement.querySelector('#form-to');
if (fromElement.value !== '' && toElement.value !== '') {
formElement.submit();
}
});