mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
merge from 1.2
This commit is contained in:
parent
87dcfb1c10
commit
0decebd55b
@ -361,6 +361,12 @@ class ui_resources
|
|||||||
*/
|
*/
|
||||||
function select($content='')
|
function select($content='')
|
||||||
{
|
{
|
||||||
|
if (!is_object($GLOBALS['phpgw']->js))
|
||||||
|
{
|
||||||
|
$GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript');
|
||||||
|
}
|
||||||
|
$GLOBALS['phpgw']->js->set_onload("copyOptions('exec[resources][selectbox]');");
|
||||||
|
|
||||||
$GLOBALS['egw_info']['flags']['java_script'] .= "<script LANGUAGE=\"JavaScript\">
|
$GLOBALS['egw_info']['flags']['java_script'] .= "<script LANGUAGE=\"JavaScript\">
|
||||||
window.focus();
|
window.focus();
|
||||||
|
|
||||||
@ -462,12 +468,6 @@ class ui_resources
|
|||||||
window.close();
|
window.close();
|
||||||
}</script>";
|
}</script>";
|
||||||
|
|
||||||
if (!is_object($GLOBALS['phpgw']->js))
|
|
||||||
{
|
|
||||||
$GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript');
|
|
||||||
}
|
|
||||||
$GLOBALS['phpgw']->js->set_onload("copyOptions('exec[resources][selectbox]');");
|
|
||||||
|
|
||||||
$content['nm']['header_left'] = 'resources.resource_select.header';
|
$content['nm']['header_left'] = 'resources.resource_select.header';
|
||||||
$content['nm']['show_bookable'] = true;
|
$content['nm']['show_bookable'] = true;
|
||||||
$content['nm']['get_rows'] = 'resources.bo_resources.get_rows';
|
$content['nm']['get_rows'] = 'resources.bo_resources.get_rows';
|
||||||
|
Loading…
Reference in New Issue
Block a user