From 932c07287b61117f48b601a38b347e951a5d68ef Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 10 May 2019 08:38:17 +1000 Subject: [PATCH] Button fixes --- InvenTree/part/templates/part/attachments.html | 4 ++-- InvenTree/static/script/inventree/bom.js | 2 +- InvenTree/static/script/inventree/build.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/InvenTree/part/templates/part/attachments.html b/InvenTree/part/templates/part/attachments.html index 77ffa8dbff..e3bed202c4 100644 --- a/InvenTree/part/templates/part/attachments.html +++ b/InvenTree/part/templates/part/attachments.html @@ -30,8 +30,8 @@ {{ attachment.comment }}
- - + +
diff --git a/InvenTree/static/script/inventree/bom.js b/InvenTree/static/script/inventree/bom.js index e88e617945..762c6b1d6b 100644 --- a/InvenTree/static/script/inventree/bom.js +++ b/InvenTree/static/script/inventree/bom.js @@ -129,7 +129,7 @@ function loadBomTable(table, options) { if (options.editable) { cols.push({ formatter: function(value, row, index, field) { - var bEdit = ""; + var bEdit = ""; var bDelt = ""; return "
" + bEdit + bDelt + "
"; diff --git a/InvenTree/static/script/inventree/build.js b/InvenTree/static/script/inventree/build.js index b92b033049..4ecd4214a2 100644 --- a/InvenTree/static/script/inventree/build.js +++ b/InvenTree/static/script/inventree/build.js @@ -40,7 +40,7 @@ function loadAllocationTable(table, part_id, part, url, required, button) { formatter: function(value, row, index, field) { var html = value; - var bEdit = ""; + var bEdit = ""; var bDel = ""; html += "
" + bEdit + bDel + "
";