Minor changes in the Inspector API

This commit is contained in:
alekseybobkov 2015-11-11 13:03:18 -08:00
parent d34bb2bd86
commit 5cb873862a
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@
return
}
var $configurationField = this.$element.find('input[data-inspector-config]')
var $configurationField = this.$element.find('> input[data-inspector-config]')
if ($configurationField.length > 0) {
result.properties = this.parseConfiguration($configurationField.val())

View File

@ -3738,7 +3738,7 @@ result.description=this.$element.data('inspector-description')
if(configString!==undefined){result.properties=this.parseConfiguration(configString)
this.configurationLoaded(result)
return}
var $configurationField=this.$element.find('input[data-inspector-config]')
var $configurationField=this.$element.find('> input[data-inspector-config]')
if($configurationField.length>0){result.properties=this.parseConfiguration($configurationField.val())
this.configurationLoaded(result)
return}