mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
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]':
|
||||
et2_dialog.confirm(_widget, egw.lang('Delete this contact?'), egw.lang('Delete'));
|
||||
break;
|
||||
case 'button[close]':
|
||||
framework.activeApp.tab.closeButton.click();
|
||||
break;
|
||||
default: // submit all other buttons back to server
|
||||
et2.widgetContainer._inst.submit();
|
||||
break;
|
||||
|
@ -290,6 +290,9 @@ class AddressbookApp extends EgwApp
|
||||
case 'button[delete]':
|
||||
et2_dialog.confirm(_widget, egw.lang('Delete this contact?'), egw.lang('Delete'));
|
||||
break;
|
||||
case 'button[close]':
|
||||
framework.activeApp.tab.closeButton.click();
|
||||
break;
|
||||
default: // submit all other buttons back to server
|
||||
et2.widgetContainer._inst.submit();
|
||||
break;
|
||||
|
@ -54,6 +54,7 @@
|
||||
<hbox>
|
||||
<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[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"/>
|
||||
</hbox>
|
||||
</row>
|
||||
|
Loading…
Reference in New Issue
Block a user