mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-24 09:45:14 +02:00
Fixed autofill for HTTPS.
Added dummy API endpoint for autofill POST requests. Autofill also reads the CSRF token from cookies and doesn't require an 'about:blank' anymore on the forms.
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
i.fa.fa-book
|
||||
.widget-content.padded
|
||||
|
||||
iframe(src="about:blank", name="_autofill2", style="display:none")
|
||||
form(method="post", action="about:blank", target="_autofill2")
|
||||
// TODO: find why autofill doesn't work here
|
||||
form(method='post', enable-autofill, ng-submit='run(command)')
|
||||
.input-group.form-inline
|
||||
input(type=text, ng-model='command', ng-enter='run(command)', text-focus-select,
|
||||
//autocapitalize='off', spellcheck='false',
|
||||
input(type=text, ng-model='command', Xtext-focus-select,
|
||||
autocapitalize='off', spellcheck='false',
|
||||
tabindex='30', accesskey='S', autocomplete='on').form-control.shell-input
|
||||
span.input-group-btn
|
||||
// , tooltip='{{"Run Command"|translate}}'
|
||||
|
||||
Reference in New Issue
Block a user