eq: filter type cannot refer to a widget whose id is one of the available options
This commit is contained in:
parent
d1c972903f
commit
148bad6c95
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ module.exports.create = function(widgetData,container) {
|
|||
for (i in widgetData.filters) {
|
||||
|
||||
for (j in widgetData.filters[i]) {
|
||||
if (typeof widgetData.filters[i][j]=='string') {
|
||||
if (typeof widgetData.filters[i][j]=='string' && !(j=='type' && widgetData.filters[i][j].match(/peak|notch|highpass|highshelf|lowpass|lowshelf/))) {
|
||||
widget.linkedWidgets.push(widgetData.filters[i][j])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1756,7 +1756,7 @@ module.exports.create = function(widgetData,container) {
|
|||
for (i in widgetData.filters) {
|
||||
|
||||
for (j in widgetData.filters[i]) {
|
||||
if (typeof widgetData.filters[i][j]=='string') {
|
||||
if (typeof widgetData.filters[i][j]=='string' && !(j=='type' && widgetData.filters[i][j].match(/peak|notch|highpass|highshelf|lowpass|lowshelf/))) {
|
||||
widget.linkedWidgets.push(widgetData.filters[i][j])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue