]> granicus.if.org Git - transmission/commitdiff
Disable browser to autocomplete on torrent url field
authorclyang <clyang@clyang.net>
Thu, 10 Aug 2017 16:52:40 +0000 (00:52 +0800)
committerGitHub <noreply@github.com>
Thu, 10 Aug 2017 16:52:40 +0000 (00:52 +0800)
It disrupts the view and I can't come up a daily usage scenario that needs to utilize autocomplete function.

web/index.html

index 55626330b4472605a1ec11b369d8a65b41bd99f8..6c9518a29dd233defbf732e4967a34e33c027746 100755 (executable)
                                <div class="dialog_logo" id="upload_dialog_logo"></div>
                                <h2 class="dialog_heading">Upload Torrent Files</h2>
                                <form action="#" method="post" id="torrent_upload_form"
-                                       enctype="multipart/form-data" target="torrent_upload_frame">
+                                       enctype="multipart/form-data" target="torrent_upload_frame" autocomplete="off">
                                        <div class="dialog_message">
                                                <label for="torrent_upload_file">Please select a torrent file to upload:</label>
                                                        <input type="file" name="torrent_files[]" id="torrent_upload_file" multiple="multiple" />