Fix add category button

This commit is contained in:
Nathan Gray 2015-03-23 18:59:33 +00:00
parent 9257177870
commit 8989730c56
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ class admin_categories
} }
} }
$content['msg'] = $msg; $content['msg'] = $msg;
$content['add_link']= $this->add_link.'&appname='.$appname; $content['nm']['add_link']= egw_framework::link('/index.php','menuaction='.$this->add_link . '&cat_id=&appname='.$appname);
$content['edit_link']= $this->edit_link.'&appname='.$appname; $content['edit_link']= $this->edit_link.'&appname='.$appname;
$content['owner'] = ''; $content['owner'] = '';

View File

@ -4,7 +4,7 @@
<overlay> <overlay>
<template id="admin.categories.index.right" template="" lang="" group="0" version="1.9.001"> <template id="admin.categories.index.right" template="" lang="" group="0" version="1.9.001">
<hbox> <hbox>
<buttononly align="right" label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=$cont[add_link]&amp;cat_id=&amp;appname=$cont[nm][appname]'),'_blank','dependent=yes,width=600,height=380,scrollbars=yes,status=yes'); return false;"/> <buttononly align="right" label="Add" id="add" onclick="window.open('$cont[add_link]','_blank','dependent=yes,width=600,height=380,scrollbars=yes,status=yes'); return false;"/>
</hbox> </hbox>
</template> </template>
<template id="admin.categories.index.rows" template="" lang="" group="0" version="1.9.002"> <template id="admin.categories.index.rows" template="" lang="" group="0" version="1.9.002">