Make edit popup wider to fix display issues in IE

This commit is contained in:
Nathan Gray 2010-09-16 21:02:37 +00:00
parent d82c984f5a
commit 49e3c1d8fa
2 changed files with 8 additions and 6 deletions

View File

@ -31,10 +31,10 @@ class addressbook_hooks
$file = array( $file = array(
'Add' => "javascript:egw_openWindowCentered2('". 'Add' => "javascript:egw_openWindowCentered2('".
egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.edit'),false). egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.edit'),false).
"','_blank',850,440,'yes')", "','_blank',870,480,'yes')",
'Advanced search' => "javascript:egw_openWindowCentered2('". 'Advanced search' => "javascript:egw_openWindowCentered2('".
egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.search'),false). egw::link('/index.php',array('menuaction' => 'addressbook.addressbook_ui.search'),false).
"','_blank',850,480,'yes')", "','_blank',870,480,'yes')",
'CSV-Import' => egw::link('/addressbook/csv_import.php') 'CSV-Import' => egw::link('/addressbook/csv_import.php')
); );
display_sidebox($appname,lang('Addressbook menu'),$file); display_sidebox($appname,lang('Addressbook menu'),$file);
@ -293,7 +293,7 @@ class addressbook_hooks
'description' => 'Addressbook', 'description' => 'Addressbook',
'url' => '/index.php', 'url' => '/index.php',
'extradata' => 'menuaction=addressbook.addressbook_ui.edit', 'extradata' => 'menuaction=addressbook.addressbook_ui.edit',
'options' => "onclick=\"egw_openWindowCentered2(this,'_blank',850,440,'yes'); return false;\"". 'options' => "onclick=\"egw_openWindowCentered2(this,'_blank',870,440,'yes'); return false;\"".
' title="'.htmlspecialchars(lang('Edit extra account-data in the addressbook')).'"', ' title="'.htmlspecialchars(lang('Edit extra account-data in the addressbook')).'"',
); );
} }
@ -320,7 +320,7 @@ class addressbook_hooks
), ),
'add_app' => 'link_app', 'add_app' => 'link_app',
'add_id' => 'link_id', 'add_id' => 'link_id',
'add_popup' => '850x440', 'add_popup' => '870x440',
'file_access'=> 'addressbook.addressbook_bo.file_access', 'file_access'=> 'addressbook.addressbook_bo.file_access',
'default_types' => array('n' => array('name' => 'contact', 'options' => array('icon' => 'navbar.png','template' => 'addressbook.edit'))), 'default_types' => array('n' => array('name' => 'contact', 'options' => array('icon' => 'navbar.png','template' => 'addressbook.edit'))),
); );

File diff suppressed because one or more lines are too long