Fix bug description preview

This commit is contained in:
Frédéric Guillot 2014-11-25 20:42:56 -05:00
parent d68fa290bb
commit d89fed4e25
2 changed files with 14 additions and 8 deletions

View File

@ -160,6 +160,11 @@ Kanboard.Board = (function() {
var checkInterval = null;
function on_popover(e)
{
Kanboard.Popover(e, Kanboard.Init);
}
// Setup the board
function board_load_events()
{
@ -185,12 +190,10 @@ Kanboard.Board = (function() {
$(".category-popover").click(Kanboard.Popover);
// Task edit popover
$(".task-edit-popover").click(function(e) {
Kanboard.Popover(e, Kanboard.Init);
});
$(".task-edit-popover").click(on_popover);
// Description popover
$(".task-description-popover").click(Kanboard.Popover);
$(".task-description-popover").click(on_popover);
// Tooltips
$(".task-board-tooltip").tooltip({

View File

@ -3,6 +3,11 @@ Kanboard.Board = (function() {
var checkInterval = null;
function on_popover(e)
{
Kanboard.Popover(e, Kanboard.Init);
}
// Setup the board
function board_load_events()
{
@ -28,12 +33,10 @@ Kanboard.Board = (function() {
$(".category-popover").click(Kanboard.Popover);
// Task edit popover
$(".task-edit-popover").click(function(e) {
Kanboard.Popover(e, Kanboard.Init);
});
$(".task-edit-popover").click(on_popover);
// Description popover
$(".task-description-popover").click(Kanboard.Popover);
$(".task-description-popover").click(on_popover);
// Tooltips
$(".task-board-tooltip").tooltip({