Fixes New Project Bug
This commit is contained in:
parent
f149a76b2d
commit
cad80263ad
|
@ -2,9 +2,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
const importBtnTooltip = 'Please enter a valid project name.';
|
||||
const $importBtnWrapper = $('.import_gitlab_project');
|
||||
|
||||
$('.how_to_import_link').bind('click', function (e) {
|
||||
$('.how_to_import_link').bind('click', (e) => {
|
||||
e.preventDefault();
|
||||
$(this).next('.modal').show();
|
||||
$('.how_to_import_link').next('.modal').show();
|
||||
});
|
||||
|
||||
$('.modal-header .close').bind('click', () => {
|
||||
|
@ -25,7 +25,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
});
|
||||
|
||||
$('#project_path').keyup(() => {
|
||||
if ($(this).val().trim().length !== 0) {
|
||||
if ($('#project_path').val().trim().length !== 0) {
|
||||
$('.btn_import_gitlab_project').attr('disabled', false);
|
||||
$importBtnWrapper.attr('title', '');
|
||||
$importBtnWrapper.removeClass('has-tooltip');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.tree-content-holder.js-tree-content{ 'data-logs-path': escape_javascript(@logs_path)}
|
||||
.tree-content-holder.js-tree-content{ 'data-logs-path': escape_javascript(@logs_path) }
|
||||
.table-holder
|
||||
%table.table#tree-slider{ class: "table_#{@hex_path} tree-table" }
|
||||
%thead
|
||||
|
|
Loading…
Reference in New Issue