Don't try to put labels on nested paths
This commit is contained in:
parent
74b3cf765f
commit
b4dc5ec547
|
@ -57,7 +57,7 @@ Ember.Handlebars.registerHelper('input', (options) ->
|
||||||
id = options.hash.id
|
id = options.hash.id
|
||||||
|
|
||||||
# generate id only if it's not given
|
# generate id only if it's not given
|
||||||
if name && !id
|
if name && !name.match(/\./) && !id
|
||||||
labels = @get('_labels')
|
labels = @get('_labels')
|
||||||
unless labels
|
unless labels
|
||||||
labels = Ember.Object.create()
|
labels = Ember.Object.create()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user