Minor fix in the Inspector code
This commit is contained in:
parent
ac37d23d14
commit
3deb4ee654
|
|
@ -307,13 +307,15 @@
|
|||
})
|
||||
|
||||
var matches = []
|
||||
if (matches = propertyValue.match(/^\{\{([^\}]+)\}\}$/)) {
|
||||
var value = $.trim(matches[1])
|
||||
if (propertyValue) {
|
||||
if (matches = propertyValue.match(/^\{\{([^\}]+)\}\}$/)) {
|
||||
var value = $.trim(matches[1])
|
||||
|
||||
if (value.length > 0) {
|
||||
self.showExternalParameterEditor($editorContainer, $editor, $editorLink, $td, true)
|
||||
$editor.find('input').val(value)
|
||||
self.writeProperty(property, null, true)
|
||||
if (value.length > 0) {
|
||||
self.showExternalParameterEditor($editorContainer, $editor, $editorLink, $td, true)
|
||||
$editor.find('input').val(value)
|
||||
self.writeProperty(property, null, true)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue