summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-12-23 09:07:20 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-12-23 09:07:20 (GMT)
commitc496f8c1354cd3ac64e951d562d922e5dd7aed71 (patch)
treea5134179a88d5e77f4145b5aabcf2b2cef374f33
parentfe1b62972aa0ec01b5a995b39f914cb2c50c8f31 (diff)
downloadkolab-wap-c496f8c1354cd3ac64e951d562d922e5dd7aed71.tar.gz
Fix so "This entry" button inserts entry base DN with required ldap:/// prefix (#3985)
-rw-r--r--public_html/js/kolab_admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public_html/js/kolab_admin.js b/public_html/js/kolab_admin.js
index ca06ed3..c7af191 100644
--- a/public_html/js/kolab_admin.js
+++ b/public_html/js/kolab_admin.js
@@ -1616,7 +1616,7 @@ function kolab_admin()
target = $('<input id="aci-targets-target" type="text" size="40" />'),
filter = $('<input id="aci-targets-filter" type="text" size="40" />'),
button = $('<input type="button" id="aci-targets-targetbtn" />').val(this.t('aci.thisentry'))
- .on('click', function() { target.val(self.env.entrydn) }),
+ .on('click', function() { target.val('ldap:///' + self.env.entrydn); }),
select = $('<select id="aci-targets-attr" multiple="multiple" size="8"></select>'),
radio = [
$('<label>').text(this.t('aci.selected')).prepend($('<input type="radio" name="attr-operator" value="=" />')),