No dropdown for sound in readOnly Treemas.

This commit is contained in:
Ruben Vereecken 2014-03-12 17:19:47 +01:00
parent d43ff5d217
commit bd129f5824

View file

@ -106,7 +106,7 @@ class SoundFileTreema extends TreemaNode.nodeMap.string
if @data
valEl.append(playButton)
valEl.append(stopButton)
valEl.append(dropdown) if files.length
valEl.append(dropdown) if files.length and @canEdit()
if @data
path = @data.split('/')
name = path[path.length-1]