Desktop notifications could not be turned off in multi-domain setup
authorMarcel Werk <burntime@woltlab.com>
Wed, 29 Jan 2020 21:57:23 +0000 (22:57 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 29 Jan 2020 21:57:23 +0000 (22:57 +0100)
wcfsetup/install/files/acp/templates/desktopNotificationApplicationSelectOptionType.tpl

index 9aeef098becf85b4481a04cf7b7afff1f15d8ef5..94c2d2d7419a0b2eae96a98c456fba2a9d7f1cb0 100644 (file)
@@ -1,11 +1,11 @@
 {if $isMultiDomainSetup}
+       <input type="hidden" name="values[{$option->optionName}]" value="1">
        <select name="values[{$option->optionName}]" id="{$option->optionName}">
                {foreach from=$applications item=application}
                        <option value="{@$application->packageID}"{if $application->packageID == $value} selected{/if}>{$application->getPackage()}</option>
                {/foreach}
        </select>
 {else}
-       {* TODO: hide *}
        <input type="hidden" name="values[{$option->optionName}]" value="1">
        <script>
                (function() {