From d1faae5544aef080352d1ddc3e9fef8c2b6547ec Mon Sep 17 00:00:00 2001 From: Gustavo Bernardo Date: Sat, 29 Oct 2016 21:33:02 -0300 Subject: [PATCH] Links js moved to the right place [Issue:#126] --- links/static/js/links.js | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) create mode 100644 links/static/js/links.js diff --git a/links/static/js/links.js b/links/static/js/links.js new file mode 100644 index 0000000..11f461c --- /dev/null +++ b/links/static/js/links.js @@ -0,0 +1,8 @@ +function get_modal_link(url, id,div_content){ + $.get(url, function (data) { + $(div_content).empty(); + $(div_content).append(data); + $(id).modal('show'); + }); + +} -- libgit2 0.21.2