From b310031972a53d0881a87a627f07bdcf7d9c6b79 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Wed, 3 Oct 2018 23:10:51 -0700 Subject: toaster: custom image enable layer add, protect pre-cloned layers When creating custom image recipes, the layer add for new layers needs missing xhrLayerUrl data. Also, code is needed to check and inform user if the newly added layer has not been cloned yet, and provide helpful error message instead of the current frozen dialog. [YOCTO #12887] Signed-off-by: David Reyna Signed-off-by: Richard Purdie --- lib/toaster/toastergui/templates/customise_btn.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/toaster/toastergui/templates/customise_btn.html') diff --git a/lib/toaster/toastergui/templates/customise_btn.html b/lib/toaster/toastergui/templates/customise_btn.html index 38c258ac3..ce462401c 100644 --- a/lib/toaster/toastergui/templates/customise_btn.html +++ b/lib/toaster/toastergui/templates/customise_btn.html @@ -5,7 +5,11 @@ > Customise -