Skip to content

Commit

Permalink
Issue #335 : Remove autocomplete from settings input text fields
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandescottes committed Nov 13, 2015
1 parent 0dff1f7 commit 392204e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/templates/settings/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<div class="settings-item">
<label for="tiled-preview">Maximum FPS </label>
<input type="text" class="textfield textfield-small max-fps-input" name="max-fps"/>
<input type="text" class="textfield textfield-small max-fps-input" autocomplete="off" name="max-fps"/>
</div>

<input type="submit" class="button button-primary" value="Save" />
Expand Down
6 changes: 3 additions & 3 deletions src/templates/settings/export.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="settings-description">File names will start with the prefix below.</div>
<div class="settings-item">
<label>Prefix</label>
<input class="zip-prefix-name textfield" type="text" placeholder="PNG file prefix ...">
<input type="text" class="zip-prefix-name textfield" autocomplete="off" placeholder="PNG file prefix ...">
</div>
<div class="settings-item">
<label>
Expand All @@ -41,12 +41,12 @@
<label>Select resolution:</label>
<div class="resize-section">
<span class="resize-section-title">Width</span>
<input type="text" class="textfield export-size-field export-gif-resize-width" name="resize-width"/>
<input type="text" class="textfield export-size-field export-gif-resize-width" autocomplete="off" name="resize-width"/>
<span>px</span>
</div>
<div class="resize-section">
<span class="resize-section-title">Height</span>
<input type="text" class="textfield export-size-field export-gif-resize-height" name="resize-height"/>
<input type="text" class="textfield export-size-field export-gif-resize-height" autocomplete="off" name="resize-height"/>
<span>px</span>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/templates/settings/resize.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<form action="" method="POST" name="resize-canvas-form">
<div class="resize-section">
<span class="resize-section-title">Width</span>
<input type="text" class="textfield resize-size-field" name="resize-width"/>
<input type="text" class="textfield resize-size-field" autocomplete="off" name="resize-width"/>
<span>px</span>
</div>
<div class="resize-section">
<span class="resize-section-title">Height</span>
<input type="text" class="textfield resize-size-field" name="resize-height"/>
<input type="text" class="textfield resize-size-field" autocomplete="off" name="resize-height"/>
<span>px</span>
</div>
<div class="resize-section">
Expand Down Expand Up @@ -52,12 +52,12 @@
<form action="" method="POST" name="default-size-form">
<div class="resize-section">
<span class="resize-section-title">Width</span>
<input type="text" class="textfield resize-size-field" name="default-width"/>
<input type="text" class="textfield resize-size-field" autocomplete="off" name="default-width"/>
<span>px</span>
</div>
<div class="resize-section">
<span class="resize-section-title">Height</span>
<input type="text" class="textfield resize-size-field" name="default-height"/>
<input type="text" class="textfield resize-size-field" autocomplete="off" name="default-height"/>
<span>px</span>
</div>
<input type="submit" class="button button-primary resize-button" value="Set default" />
Expand Down
2 changes: 1 addition & 1 deletion src/templates/settings/save.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="settings-item">
<div class="settings-form-section" style="overflow:hidden">
<label class="row" style="line-height:20px;">Title : </label>
<input id="save-name" type="text" class="save-field textfield"/>
<input id="save-name" type="text" class="save-field textfield" autocomplete="off" />
</div>
<div class="settings-form-section">
<label class="row" style="line-height:20px;">Description : </label>
Expand Down

0 comments on commit 392204e

Please sign in to comment.