Fix bug description preview
This commit is contained in:
@@ -160,6 +160,11 @@ Kanboard.Board = (function() {
|
|||||||
|
|
||||||
var checkInterval = null;
|
var checkInterval = null;
|
||||||
|
|
||||||
|
function on_popover(e)
|
||||||
|
{
|
||||||
|
Kanboard.Popover(e, Kanboard.Init);
|
||||||
|
}
|
||||||
|
|
||||||
// Setup the board
|
// Setup the board
|
||||||
function board_load_events()
|
function board_load_events()
|
||||||
{
|
{
|
||||||
@@ -185,12 +190,10 @@ Kanboard.Board = (function() {
|
|||||||
$(".category-popover").click(Kanboard.Popover);
|
$(".category-popover").click(Kanboard.Popover);
|
||||||
|
|
||||||
// Task edit popover
|
// Task edit popover
|
||||||
$(".task-edit-popover").click(function(e) {
|
$(".task-edit-popover").click(on_popover);
|
||||||
Kanboard.Popover(e, Kanboard.Init);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Description popover
|
// Description popover
|
||||||
$(".task-description-popover").click(Kanboard.Popover);
|
$(".task-description-popover").click(on_popover);
|
||||||
|
|
||||||
// Tooltips
|
// Tooltips
|
||||||
$(".task-board-tooltip").tooltip({
|
$(".task-board-tooltip").tooltip({
|
||||||
|
|||||||
@@ -3,6 +3,11 @@ Kanboard.Board = (function() {
|
|||||||
|
|
||||||
var checkInterval = null;
|
var checkInterval = null;
|
||||||
|
|
||||||
|
function on_popover(e)
|
||||||
|
{
|
||||||
|
Kanboard.Popover(e, Kanboard.Init);
|
||||||
|
}
|
||||||
|
|
||||||
// Setup the board
|
// Setup the board
|
||||||
function board_load_events()
|
function board_load_events()
|
||||||
{
|
{
|
||||||
@@ -28,12 +33,10 @@ Kanboard.Board = (function() {
|
|||||||
$(".category-popover").click(Kanboard.Popover);
|
$(".category-popover").click(Kanboard.Popover);
|
||||||
|
|
||||||
// Task edit popover
|
// Task edit popover
|
||||||
$(".task-edit-popover").click(function(e) {
|
$(".task-edit-popover").click(on_popover);
|
||||||
Kanboard.Popover(e, Kanboard.Init);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Description popover
|
// Description popover
|
||||||
$(".task-description-popover").click(Kanboard.Popover);
|
$(".task-description-popover").click(on_popover);
|
||||||
|
|
||||||
// Tooltips
|
// Tooltips
|
||||||
$(".task-board-tooltip").tooltip({
|
$(".task-board-tooltip").tooltip({
|
||||||
|
|||||||
Reference in New Issue
Block a user