Fix importexport schedule:

- fixed list did not update after edit
- fixed delete button did not work
This commit is contained in:
Nathan Gray 2015-04-13 20:03:30 +00:00
parent 3f6dce63c3
commit f11804c5f5
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@
$content $content
); );
if($result) { if($result) {
egw_framework::refresh_opener('', 'importexport'); egw_framework::refresh_opener('', 'admin',$id,'update','admin');
egw_framework::window_close(); egw_framework::window_close();
} else { } else {
$data['message'] = lang('Unable to schedule'); $data['message'] = lang('Unable to schedule');

View File

@ -75,7 +75,7 @@
</vbox> </vbox>
<hbox options="0,0"> <hbox options="0,0">
<button id="edit[{$_cont[id]}]" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_schedule_ui.edit&amp;id={$_cont[id]}'),'_blank','dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;" image="edit"/> <button id="edit[{$_cont[id]}]" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_schedule_ui.edit&amp;id={$_cont[id]}'),'_blank','dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;" image="edit"/>
<button id="delete[{$_cont[id]}]" image="delete"/> <button id="delete[{$_cont[id]}]" onclick="1" image="delete"/>
</hbox> </hbox>
</row> </row>
<row class="th" disabled="!@result"> <row class="th" disabled="!@result">