diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/table.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/table.js b/bitbake/lib/toaster/toastergui/static/js/table.js index 87cac600a5..a7e4fbad09 100644 --- a/bitbake/lib/toaster/toastergui/static/js/table.js +++ b/bitbake/lib/toaster/toastergui/static/js/table.js | |||
| @@ -671,6 +671,13 @@ function tableInit(ctx){ | |||
| 671 | }); | 671 | }); |
| 672 | } | 672 | } |
| 673 | 673 | ||
| 674 | /* Allow pages to trigger reload event */ | ||
| 675 | table.on('reload', function(e, newTableParams){ | ||
| 676 | if (newTableParams) | ||
| 677 | loadData(newTableParams); | ||
| 678 | else | ||
| 679 | loadData(tableParams) | ||
| 680 | }); | ||
| 674 | 681 | ||
| 675 | $(".get-help").tooltip({container:'body', html:true, delay:{show:300}}); | 682 | $(".get-help").tooltip({container:'body', html:true, delay:{show:300}}); |
| 676 | 683 | ||
