Add task links (Merge pull-request #610)

This commit is contained in:
Frederic Guillot
2015-02-13 17:50:20 -05:00
parent 124f7cad28
commit 364382b1b5
38 changed files with 1769 additions and 41 deletions

19
assets/js/src/link.js Normal file
View File

@@ -0,0 +1,19 @@
Kanboard.Link = (function() {
function on_change() {
if ($('.behaviour').prop('checked')) {
$('.link-inverse-label').hide();
}
else {
$('.link-inverse-label').show();
}
}
jQuery(document).ready(function() {
if (Kanboard.Exists("link-edit-section")) {
on_change();
$(".behaviour").click(on_change);
}
});
})();