Get widget extra documentation working

This allows <Class>.md beside <Class>.ts where we can add additional documentation such as examples
This commit is contained in:
nathan
2024-01-05 09:52:09 -07:00
parent 3b48d81651
commit 52b48140fe
10 changed files with 55 additions and 17 deletions

View File

@ -282,7 +282,7 @@ window.app = {classes: {}};
if (!gen_time_div.length) gen_time_div = jQuery('.pageGenTime');
var gen_time_async = jQuery('.asyncIncludeTime').length > 0 ? jQuery('.asyncIncludeTime'):
gen_time_div.append('<span class="asyncIncludeTime"></span>').find('.asyncIncludeTime');
gen_time_async.text(egw.lang('async includes took %1s', (end_time-start_time)/1000));
gen_time_async.text(egw.lang ? egw.lang('async includes took %1s', (end_time - start_time) / 1000) : 'async includes took ' + (end_time - start_time) / 1000);
// Make sure opener knows when we close - start a heartbeat
try {