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
eigenlab
Leaflet.FormBuilder
Commits
f87de5b6
Commit
f87de5b6
authored
Oct 09, 2015
by
Yohan Boniface
Browse files
Fix label parent reference
parent
0aa42dfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Leaflet.FormBuilder.js
View file @
f87de5b6
...
...
@@ -176,7 +176,7 @@ L.FormBuilder.Element = L.Class.extend({
buildLabel
:
function
()
{
if
(
this
.
options
.
label
)
{
this
.
label
=
L
.
DomUtil
.
create
(
'
label
'
,
''
,
this
.
builder
.
parentNode
);
this
.
label
=
L
.
DomUtil
.
create
(
'
label
'
,
''
,
this
.
parentNode
);
this
.
label
.
innerHTML
=
this
.
options
.
label
;
}
},
...
...
package.json
View file @
f87de5b6
{
"name"
:
"leaflet-formbuilder"
,
"version"
:
"0.2.
0
"
,
"version"
:
"0.2.
1
"
,
"description"
:
"Helpers to build forms in Leaflet"
,
"main"
:
"Leaflet.FormBuilder.js"
,
"scripts"
:
{
...
...
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