aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/user_ldap/templates/part.wizard-groupfilter.php3
-rw-r--r--apps/user_ldap/templates/part.wizard-loginfilter.php2
-rw-r--r--core/css/multiselect.css1
-rw-r--r--core/js/jquery.ocdialog.js6
-rw-r--r--core/js/oc-dialogs.js3
5 files changed, 9 insertions, 6 deletions
diff --git a/apps/user_ldap/templates/part.wizard-groupfilter.php b/apps/user_ldap/templates/part.wizard-groupfilter.php
index bfcfd115218..2f663b858e2 100644
--- a/apps/user_ldap/templates/part.wizard-groupfilter.php
+++ b/apps/user_ldap/templates/part.wizard-groupfilter.php
@@ -47,9 +47,6 @@
placeholder="<?php p($l->t('Edit LDAP Query'));?>"
title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', $theme->getName()));?>">
</textarea>
- <button class="ldapGetEntryCount hidden" name="ldapGetEntryCount" type="button">
- <?php p($l->t('Test Filter'));?>
- </button>
</p>
<p>
<div class="ldapWizardInfo invisible">&nbsp;</div>
diff --git a/apps/user_ldap/templates/part.wizard-loginfilter.php b/apps/user_ldap/templates/part.wizard-loginfilter.php
index fa17a9b430b..8d9fccf24b8 100644
--- a/apps/user_ldap/templates/part.wizard-loginfilter.php
+++ b/apps/user_ldap/templates/part.wizard-loginfilter.php
@@ -58,4 +58,4 @@
</p>
<?php print_unescaped($_['wizardControls']); ?>
</div>
-</fieldset> \ No newline at end of file
+</fieldset>
diff --git a/core/css/multiselect.css b/core/css/multiselect.css
index 274cec8253d..17fd81bf6c3 100644
--- a/core/css/multiselect.css
+++ b/core/css/multiselect.css
@@ -88,6 +88,7 @@ div.multiselect>span:first-child {
overflow: hidden;
text-overflow: ellipsis;
width: 90%;
+ white-space: nowrap;
}
div.multiselect>span:last-child {
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js
index e48e3e8df6a..ea034f0aff7 100644
--- a/core/js/jquery.ocdialog.js
+++ b/core/js/jquery.ocdialog.js
@@ -78,8 +78,12 @@
var pos = self.parent.position();
self.$dialog.css({
left: pos.left + ($(window).innerWidth() - self.$dialog.outerWidth())/2,
- top: pos.top + ($(window).innerHeight() - self.$dialog.outerHeight())/2
+ top: pos.top + ($(window).innerHeight() - self.$dialog.outerHeight())/2,
+ width: Math.min(self.options.width, $(window).innerWidth() - 20 ),
+ height: Math.min(self.options.height, $(window).innerHeight() - 20)
});
+ // set sizes of content
+ self._setSizes();
});
this._setOptions(this.options);
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index afd7debb695..0692a9df5ca 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -207,7 +207,8 @@ var OCdialogs = {
self.$filePicker.ocdialog({
closeOnEscape: true,
- width: (4/5)*$(document).width(),
+ // max-width of 600
+ width: Math.min((4/5)*$(document).width(), 600),
height: 420,
modal: modal,
buttons: buttonlist,