mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix broken tutorial onclick handler
This commit is contained in:
parent
924d03e7e0
commit
5745919c5a
@ -83,7 +83,7 @@ class Tutorial
|
|||||||
);
|
);
|
||||||
foreach (isset($tutorials[$appName][$lang]) ? $tutorials[$appName][$lang] : $tutorials[$appName]['en'] as $v)
|
foreach (isset($tutorials[$appName][$lang]) ? $tutorials[$appName][$lang] : $tutorials[$appName]['en'] as $v)
|
||||||
{
|
{
|
||||||
$v ['onclick'] = 'app[egw.app_name()].tutorial_videoOnClick("'.$v['src'].'")';
|
$v ['onclick'] = 'etemplate2.getByApplication("api")[0].widgetContainer.getWidgetById("src").set_value("'.$v['src'].'")';
|
||||||
array_push($list, $v);
|
array_push($list, $v);
|
||||||
}
|
}
|
||||||
$content = array (
|
$content = array (
|
||||||
|
Loading…
Reference in New Issue
Block a user