mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 14:22:44 +00:00
Improvement over previous commit
This commit is contained in:
@@ -653,11 +653,10 @@
|
||||
const:name="forwardKeepCopy"
|
||||
const:id="forwardKeepCopy"
|
||||
var:checked="forwardKeepCopy" />
|
||||
<var:string label:value="Keep a copy" /></label><br/>
|
||||
|
||||
<input type="hidden"
|
||||
const:id="forwardConstraints"
|
||||
var:value="forwardConstraints" />
|
||||
<var:string label:value="Keep a copy" /></label><br/>
|
||||
<script type="text/javascript">
|
||||
var forwardConstraints = <var:string value="forwardConstraints" const:escapeHTML="NO"/>;
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</var:if>
|
||||
|
||||
@@ -79,7 +79,7 @@ function savePreferences(sender) {
|
||||
}
|
||||
|
||||
// We check if we can only to internal/external addresses.
|
||||
var constraints = parseInt($("forwardConstraints").value);
|
||||
var constraints = parseInt(forwardConstraints);
|
||||
|
||||
if (constraints > 0) {
|
||||
// We first extract the list of 'known domains' to SOGo
|
||||
|
||||
Reference in New Issue
Block a user