forked from extern/egroupware
Fix click on resources picture in edit dialog doesn't open expose view
This commit is contained in:
parent
264899f0db
commit
6abaf60a22
@ -820,8 +820,7 @@ class resources_bo
|
||||
else
|
||||
{
|
||||
$picture = egw::link('/etemplate/thumbnail.php', array(
|
||||
'path' => $picture,
|
||||
'thheight' => 128,
|
||||
'path' => $picture
|
||||
));
|
||||
}
|
||||
break;
|
||||
|
@ -506,7 +506,10 @@ class resources_ui
|
||||
|
||||
// some presetes
|
||||
$content['resource_picture'] = $this->bo->get_picture($content['res_id'],false);
|
||||
$content['picture_original'] = $this->bo->get_picture($content['res_id'],true);
|
||||
// Set original size picture
|
||||
$content['picture_original'] = $content['picture_src'] == 'own_src'?
|
||||
'webdav.php/apps/resources/'.$content['res_id'].'/.picture.jpg': $this->bo->get_picture($content['res_id'],true);
|
||||
|
||||
$content['quantity'] = $content['quantity'] ? $content['quantity'] : 1;
|
||||
$content['useable'] = $content['useable'] ? $content['useable'] : 1;
|
||||
$content['accessory_of'] = $content['accessory_of'] ? $content['accessory_of'] : $accessory_of;
|
||||
|
@ -67,9 +67,7 @@
|
||||
</rows>
|
||||
</grid>
|
||||
<description/>
|
||||
<vbox>
|
||||
<image src="resource_picture" href="$cont[picture_original]" extra_link_popup="600x480" extra_link_target="_blank" align="center" />
|
||||
</vbox>
|
||||
<image src="resource_picture" href="$cont[picture_original]" expose_view="true" align="center"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
Loading…
Reference in New Issue
Block a user