Commit 6df07348 authored by Peter Harrison's avatar Peter Harrison

[#31] Open Card Edit by clicking on body of card in board list.

parent 7ac4180c
......@@ -192,6 +192,11 @@ var cards = {
$card.find('div.card-progress').animate({
width: (incomplete != 0 && incomplete <= data.tasks?parseInt((1 - (incomplete / data.tasks)) * 100):100) + "%"
}, 500);
$card.bind('click', function() {
cards.cardscrollpoint = $(window).scrollTop();
showLoadingWithCallback(card.buildCardForCardID, $card.data('id'));
});
$card.find('div.glyph').bind('click', function() {
if (isLoading()) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment