egroupware_official/mail/templates/default/subscribe.xet
ralf 731a9d91af implement not strictly linked multiselect tree by using sl-tree selection="single" and sl-tree-item.selection:
- instead of showing checkboxes, we use the sl-tree-item.selection marker (blue left border) to show the multi-selection and sl-tree sl-selection-change event to set the value accordingly
- implement Et2Tree.setSubChecked(_id, _value) to allow apps to (un)check a hierarchy onclick of parent, still allowing to (un)select single children
- also change several tree methods to return the updateComplete promise to use in mail app.js instead of window.setInterval() to wait for tree loading
2024-04-22 16:52:47 +02:00

17 lines
911 B
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<overlay>
<template id="mail.subscribe" template="" lang="" group="0" version="1.9.001">
<et2-hbox class="dialogHeader" >
<et2-description value="Subscription folders" class="mail_subscription_header"></et2-description>
</et2-hbox>
<et2-hbox class="treeContainer">
<et2-tree id="foldertree" multiple="true" onclick="app.mail.foldertree_subselect"></et2-tree>
</et2-hbox>
<et2-hbox class="dialogFooterToolbar">
<et2-button statustext="Saves subscription changes" label="Save" id="button[save]"></et2-button>
<et2-button statustext="Applies the changes made" label="Apply" id="button[apply]"></et2-button>
<et2-button label="Cancel" id="button[cancel]" onclick="window.close()"></et2-button>
</et2-hbox>
</template>
</overlay>