mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix gen_src radio-button not beingable to be selected in resources edit popup
This commit is contained in:
parent
92e29ff0c4
commit
431f0f5168
@ -323,7 +323,7 @@ class resources_bo
|
|||||||
case 'cat_src':
|
case 'cat_src':
|
||||||
break;
|
break;
|
||||||
case 'gen_src':
|
case 'gen_src':
|
||||||
$resource['picture_src'] = $resource['gen_src_list'];
|
$resource['picture_src'] = 'gen_src';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if($resource['own_file']['size'] > 0)
|
if($resource['own_file']['size'] > 0)
|
||||||
|
@ -477,7 +477,6 @@ class resources_ui
|
|||||||
if ($res_id > 0)
|
if ($res_id > 0)
|
||||||
{
|
{
|
||||||
$content = $this->bo->read($res_id);
|
$content = $this->bo->read($res_id);
|
||||||
$content['gen_src_list'] = strpos($content['picture_src'],'.') !== false ? $content['picture_src'] : false;
|
|
||||||
$content['picture_src'] = strpos($content['picture_src'],'.') !== false ? 'gen_src' : $content['picture_src'];
|
$content['picture_src'] = strpos($content['picture_src'],'.') !== false ? 'gen_src' : $content['picture_src'];
|
||||||
$content['link_to'] = array(
|
$content['link_to'] = array(
|
||||||
'to_id' => $res_id,
|
'to_id' => $res_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user