Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgokaysatir <gokaysatir@gmail.com>2020-04-28 10:52:01 +0300
committergokaysatir <gokaysatir@gmail.com>2020-05-09 15:41:15 +0300
commit46bdaea40a5327dcea68c2fc449d7fa60387cbc0 (patch)
tree52cd28637d441adb82a403b9b3ab02287e65cee2 /src
parent9befccea1edfd3659146353d60e7c94a0e6748ed (diff)
Save As Dialog Input Width Will Be Increased For Better Usage #931
Signed-off-by: gokaysatir <gokaysatir@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/document.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/document.js b/src/document.js
index e400fbfd..9e80acca 100644
--- a/src/document.js
+++ b/src/document.js
@@ -342,6 +342,8 @@ const documentsMain = {
$buttons.eq(0).text(t('richdocuments', 'Cancel'))
$buttons.eq(1).text(t('richdocuments', 'Save'))
var nameInput = $dialog.find('input')[0]
+ nameInput.style.minWidth = '250px'
+ nameInput.style.maxWidth = '400px'
nameInput.value = documentsMain.fileName
nameInput.selectionStart = 0
nameInput.selectionEnd = documentsMain.fileName.lastIndexOf('.')