aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-02-22 22:11:49 +0100
committerGravatar GitHub <noreply@github.com> 2023-02-22 22:11:49 +0100
commitf015029c8e76cb20163a130ee68b2e6cd959ad9c (patch)
tree60f8ed107a8ea7a88487effa45073b05a4254324
parent212ab5c9b3682cda3c668944857227c35007614c (diff)
fix: sharing service config: data-leave-validation (#5098)
-rw-r--r--app/views/configure/integration.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/configure/integration.phtml b/app/views/configure/integration.phtml
index c078ae709..34c10b3c3 100644
--- a/app/views/configure/integration.phtml
+++ b/app/views/configure/integration.phtml
@@ -15,7 +15,7 @@
<template id="simple-share">
<formgroup class="group-share dragbox">
<legend draggable="true">##label##</legend>
- <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" />
+ <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" data-leave-validation="" />
<div class="form-group" id="group-share-##key##">
<label class="group-name" for="share_##key##_name"><?= _t('conf.sharing.share_name') ?></label>
<div class="group-controls">
@@ -32,7 +32,7 @@
<template id="advanced-share">
<formgroup class="group-share dragbox">
<legend draggable="true">##label##</legend>
- <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" />
+ <input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" data-leave-validation="" />
<input type="hidden" id="share_##key##_method" name="share[##key##][method]" value="##method##" />
<input type="hidden" id="share_##key##_field" name="share[##key##][field]" value="##field##" />
<div class="form-group" id="group-share-##key##">