Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
a7f6ba02
Commit
a7f6ba02
authored
Mar 21, 2018
by
Ryan Herbert
Browse files
form_builder.js add stringid class to ID label field
parent
7dc06b6f
Pipeline
#19896
passed with stages
in 41 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
browser/js/form_builder.js
View file @
a7f6ba02
...
@@ -147,7 +147,9 @@ SetFormBuilder.prototype = Object.create(FormBuilder.prototype);
...
@@ -147,7 +147,9 @@ SetFormBuilder.prototype = Object.create(FormBuilder.prototype);
SetFormBuilder
.
prototype
.
set_id
=
function
()
{
SetFormBuilder
.
prototype
.
set_id
=
function
()
{
var
id
=
'
id_label
'
;
var
id
=
'
id_label
'
;
return
this
.
build_field
(
id
,
id
,
this
.
type
+
'
ID
'
);
var
f
=
this
.
build_field
(
id
,
id
,
capitalise
(
this
.
type
)
+
'
ID
'
);
f
.
className
+=
"
stringid
"
;
return
f
;
};
};
SetFormBuilder
.
prototype
.
build_date
=
function
(
id
,
name
,
label
)
{
SetFormBuilder
.
prototype
.
build_date
=
function
(
id
,
name
,
label
)
{
...
...
Write
Preview
Markdown
is supported
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