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);
|
resizeRule(container);
|
||||||
var type = selectField.val();
|
var type = selectField.val();
|
||||||
|
|
||||||
try {
|
if (valueField){
|
||||||
valueField.typedInput('hide');
|
valueField.typedInput('hide');
|
||||||
} catch(e){}
|
}
|
||||||
try {
|
if (expValueField){
|
||||||
expValueField.typedInput('hide');
|
expValueField.typedInput('hide');
|
||||||
} catch(e){}
|
}
|
||||||
try {
|
if (numValueField){
|
||||||
numValueField.typedInput('hide');
|
numValueField.typedInput('hide');
|
||||||
} catch(e){}
|
}
|
||||||
try {
|
if (typeValueField){
|
||||||
typeValueField.typedInput('hide');
|
typeValueField.typedInput('hide');
|
||||||
} catch(e){}
|
}
|
||||||
try {
|
if (btwnValue2Field){
|
||||||
btwnValue2Field.typedInput('hide');
|
btwnValue2Field.typedInput('hide');
|
||||||
} catch(e){}
|
}
|
||||||
|
|
||||||
if ((type === "btwn") || (type === "index")) {
|
if ((type === "btwn") || (type === "index")) {
|
||||||
if (!btwnValueField){
|
if (!btwnValueField){
|
||||||
|
Loading…
Reference in New Issue
Block a user