aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/jquery.ocdialog.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-10-20 14:46:57 +0200
committerGitHub <noreply@github.com>2016-10-20 14:46:57 +0200
commit5d7e9bb8fcbcd9a03cf0723c5258b41487850f7d (patch)
tree3f7b9e4a5171d104e941fd64b9fe8cff62df68d8 /core/js/jquery.ocdialog.js
parentb946e3ecfb2478f7aaca82c11367a2be8455a2d0 (diff)
parentb3f2771d3c5feff7c400b0026560c90a58054b2d (diff)
downloadnextcloud-server-5d7e9bb8fcbcd9a03cf0723c5258b41487850f7d.tar.gz
nextcloud-server-5d7e9bb8fcbcd9a03cf0723c5258b41487850f7d.zip
Merge pull request #1768 from nextcloud/more-filepicker
More filepicker improvements
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r--core/js/jquery.ocdialog.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js
index 15b58f9e086..66c7d9bd7f1 100644
--- a/core/js/jquery.ocdialog.js
+++ b/core/js/jquery.ocdialog.js
@@ -101,9 +101,9 @@
if(this.$title) {
this.$title.text(value);
} else {
- var $title = $('<h3 class="oc-dialog-title">'
+ var $title = $('<h2 class="oc-dialog-title">'
+ value
- + '</h3>');
+ + '</h2>');
this.$title = $title.prependTo(this.$dialog);
}
this._setSizes();
@@ -184,11 +184,11 @@
if (content_height> 0) {
this.element.css({
height: content_height + 'px',
- width: this.$dialog.innerWidth()-20 + 'px'
+ width: this.$dialog.innerWidth() - 30 + 'px'
});
} else {
this.element.css({
- width : this.$dialog.innerWidth() - 20 + 'px'
+ width : this.$dialog.innerWidth() - 30 + 'px'
});
}
},