forked from extern/egroupware
Add close button into CRM view
This commit is contained in:
parent
f064ff8242
commit
a1170ab939
@ -256,6 +256,9 @@ var AddressbookApp = /** @class */ (function (_super) {
|
|||||||
case 'button[delete]':
|
case 'button[delete]':
|
||||||
et2_dialog.confirm(_widget, egw.lang('Delete this contact?'), egw.lang('Delete'));
|
et2_dialog.confirm(_widget, egw.lang('Delete this contact?'), egw.lang('Delete'));
|
||||||
break;
|
break;
|
||||||
|
case 'button[close]':
|
||||||
|
framework.activeApp.tab.closeButton.click();
|
||||||
|
break;
|
||||||
default: // submit all other buttons back to server
|
default: // submit all other buttons back to server
|
||||||
et2.widgetContainer._inst.submit();
|
et2.widgetContainer._inst.submit();
|
||||||
break;
|
break;
|
||||||
|
@ -290,6 +290,9 @@ class AddressbookApp extends EgwApp
|
|||||||
case 'button[delete]':
|
case 'button[delete]':
|
||||||
et2_dialog.confirm(_widget, egw.lang('Delete this contact?'), egw.lang('Delete'));
|
et2_dialog.confirm(_widget, egw.lang('Delete this contact?'), egw.lang('Delete'));
|
||||||
break;
|
break;
|
||||||
|
case 'button[close]':
|
||||||
|
framework.activeApp.tab.closeButton.click();
|
||||||
|
break;
|
||||||
default: // submit all other buttons back to server
|
default: // submit all other buttons back to server
|
||||||
et2.widgetContainer._inst.submit();
|
et2.widgetContainer._inst.submit();
|
||||||
break;
|
break;
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
<hbox>
|
<hbox>
|
||||||
<button id="button[edit]" label="open" background_image="1" image="edit" onclick="app.addressbook.view_actions"/>
|
<button id="button[edit]" label="open" background_image="1" image="edit" onclick="app.addressbook.view_actions"/>
|
||||||
<button id="button[copy]" label="copy" background_image="1" image="copy" onclick="app.addressbook.view_actions"/>
|
<button id="button[copy]" label="copy" background_image="1" image="copy" onclick="app.addressbook.view_actions"/>
|
||||||
|
<button id="button[close]" label="close" background_image="1" readonly="false" image="close" onclick="app.addressbook.view_actions"/>
|
||||||
<buttononly id="button[delete]" label="delete" image="delete" onclick="app.addressbook.view_actions"/>
|
<buttononly id="button[delete]" label="delete" image="delete" onclick="app.addressbook.view_actions"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
|
Loading…
Reference in New Issue
Block a user