CC-4231: Library: Prevent audio preview popup for dynamic blocks
- done
This commit is contained in:
parent
4d9a31b3c1
commit
7225345541
3 changed files with 10 additions and 1 deletions
|
@ -95,6 +95,11 @@ class Application_Model_Datatables
|
|||
$r['length'] = $pl->getLength();
|
||||
} else if ($r['ftype'] == "block") {
|
||||
$bl = new Application_Model_Block($r['id']);
|
||||
if ($bl->isStatic()) {
|
||||
$r['bl_type'] = 'static';
|
||||
} else {
|
||||
$r['bl_type'] = 'dynamic';
|
||||
}
|
||||
$r['length'] = $bl->getLength();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue