diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/recipedetails.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/recipedetails.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/recipedetails.js b/bitbake/lib/toaster/toastergui/static/js/recipedetails.js index d5f9eacdce..604db5f037 100644 --- a/bitbake/lib/toaster/toastergui/static/js/recipedetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/recipedetails.js | |||
@@ -9,7 +9,8 @@ function recipeDetailsPageInit(ctx){ | |||
9 | if (imgCustomModal.length === 0) | 9 | if (imgCustomModal.length === 0) |
10 | throw("Modal new-custom-image not found"); | 10 | throw("Modal new-custom-image not found"); |
11 | 11 | ||
12 | imgCustomModal.data('recipe', $(this).data('recipe')); | 12 | var recipe = {id: $(this).data('recipe'), name: null} |
13 | newCustomImageModalSetRecipes([recipe]); | ||
13 | imgCustomModal.modal('show'); | 14 | imgCustomModal.modal('show'); |
14 | }); | 15 | }); |
15 | 16 | ||