Fix add category button

This commit is contained in:
Nathan Gray 2015-03-23 18:57:33 +00:00
parent 8a2b996021
commit 577c4afaef
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ class admin_categories
}
}
$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['owner'] = '';

View File

@ -4,7 +4,7 @@
<overlay>
<template id="admin.categories.index.right" template="" lang="" group="0" version="1.9.001">
<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>
</template>
<template id="admin.categories.index.rows" template="" lang="" group="0" version="1.9.002">