Fix kanban UI issues
This commit is contained in:
parent
e169e02d94
commit
5f0244beb3
@ -74,6 +74,9 @@
|
||||
#kanban-edit {
|
||||
font-weight: bold;
|
||||
}
|
||||
&:hover {
|
||||
cursor: move;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -184,6 +184,9 @@ define([
|
||||
var save = function () {
|
||||
// Store the value
|
||||
var name = $input.val();
|
||||
if (!name || !name.trim()) {
|
||||
return kanban.onChange();
|
||||
}
|
||||
// Remove the input
|
||||
$(el).text(name);
|
||||
// Save the value for the correct board
|
||||
|
||||
@ -36,6 +36,7 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.kanban-board header .kanban-title-button {
|
||||
|
||||
@ -151,9 +151,6 @@
|
||||
return handle.classList.contains('kanban-item');
|
||||
},
|
||||
accepts: function (el, target, source, sibling) {
|
||||
if (sibling === null) {
|
||||
return false;
|
||||
}
|
||||
if (self.options.readOnly) { return false; }
|
||||
return true;
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user