diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/customrecipe.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/customrecipe.js b/bitbake/lib/toaster/toastergui/static/js/customrecipe.js index 9ea9602881..8b1c190df9 100644 --- a/bitbake/lib/toaster/toastergui/static/js/customrecipe.js +++ b/bitbake/lib/toaster/toastergui/static/js/customrecipe.js | |||
| @@ -312,5 +312,11 @@ function customRecipePageInit(ctx) { | |||
| 312 | }); | 312 | }); |
| 313 | }); | 313 | }); |
| 314 | 314 | ||
| 315 | /* Stop the download link from working if it is in disabled state | ||
| 316 | * http://getbootstrap.com/css/#forms-disabled-fieldsets | ||
| 317 | */ | ||
| 318 | $("a[disabled=disabled]").click(function(e){ | ||
| 319 | e.preventDefault(); | ||
| 320 | }); | ||
| 315 | 321 | ||
| 316 | } | 322 | } |
