Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
5f1670bf
Commit
5f1670bf
authored
Jun 09, 2020
by
Vladislav Rykov
Browse files
device configuration firefox support fix
parent
661733c5
Changes
2
Show whitespace changes
Inline
Side-by-side
app/app/templates/new/admin/user-application-device-configuration.html
View file @
5f1670bf
...
...
@@ -32,7 +32,7 @@
<h3
class=
"mb-0"
>
Device Configuration
</h3>
</div>
<div
class=
"card-body"
>
<form
id=
"confform"
onsubmit=
"
onsub()
"
>
<form
id=
"confform"
onsubmit=
"
return onsub(event);
"
>
<div
class=
"form-group"
>
<label>
Config ID:
</label><br>
<input
type=
"number"
min=
"0"
max=
"255"
size=
"3"
class=
"form-control"
id=
"confid"
name=
"confid"
required
><br>
...
...
@@ -90,7 +90,8 @@
{% block script %}
<script
type=
"text/javascript"
>
function
onsub
()
{
function
onsub
(
e
)
{
e
.
preventDefault
();
$
.
ajax
({
url
:
"
/administration/{{ user }}/application/{{ app[1] }}/device/{{ dev[1] }}/configure
"
,
type
:
"
POST
"
,
...
...
app/app/templates/new/public/device-configuration.html
View file @
5f1670bf
...
...
@@ -25,7 +25,7 @@
<h3
class=
"mb-0"
>
Device Configuration
</h3>
</div>
<div
class=
"card-body"
>
<form
id=
"confform"
onsubmit=
"
onsub()
"
>
<form
id=
"confform"
onsubmit=
"
return onsub(event);
"
>
<div
class=
"form-group"
>
<label>
Config ID:
</label><br>
<input
type=
"number"
min=
"0"
max=
"255"
size=
"3"
class=
"form-control"
id=
"confid"
name=
"confid"
required
><br>
...
...
@@ -83,7 +83,8 @@
{% block script %}
<script
type=
"text/javascript"
>
function
onsub
()
{
function
onsub
(
e
)
{
e
.
preventDefault
();
$
.
ajax
({
url
:
"
/application/{{ app[1] }}/device/{{ dev[1] }}/configure
"
,
type
:
"
POST
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment