From a0b6900eb8d7dae5cefe76b773217d563a5ef396 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 18 Apr 2019 22:35:51 +1000 Subject: [PATCH] Disable buttons that require row selection, until a selection has been made - Stock table --- InvenTree/part/templates/part/stock.html | 5 ++++- InvenTree/static/script/inventree/stock.js | 11 ++++++++-- InvenTree/static/script/inventree/tables.js | 20 +++++++++++++++++++ InvenTree/stock/templates/stock/location.html | 5 ++++- 4 files changed, 37 insertions(+), 4 deletions(-) diff --git a/InvenTree/part/templates/part/stock.html b/InvenTree/part/templates/part/stock.html index 9f628fef1c..a821652aae 100644 --- a/InvenTree/part/templates/part/stock.html +++ b/InvenTree/part/templates/part/stock.html @@ -9,7 +9,7 @@