mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
removed expensive try/catch
This commit is contained in:
parent
b30d519523
commit
0d680a58f3
@ -262,21 +262,21 @@
|
||||
resizeRule(container);
|
||||
var type = selectField.val();
|
||||
|
||||
try {
|
||||
if (valueField){
|
||||
valueField.typedInput('hide');
|
||||
} catch(e){}
|
||||
try {
|
||||
}
|
||||
if (expValueField){
|
||||
expValueField.typedInput('hide');
|
||||
} catch(e){}
|
||||
try {
|
||||
}
|
||||
if (numValueField){
|
||||
numValueField.typedInput('hide');
|
||||
} catch(e){}
|
||||
try {
|
||||
}
|
||||
if (typeValueField){
|
||||
typeValueField.typedInput('hide');
|
||||
} catch(e){}
|
||||
try {
|
||||
}
|
||||
if (btwnValue2Field){
|
||||
btwnValue2Field.typedInput('hide');
|
||||
} catch(e){}
|
||||
}
|
||||
|
||||
if ((type === "btwn") || (type === "index")) {
|
||||
if (!btwnValueField){
|
||||
|
Loading…
Reference in New Issue
Block a user