1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Resize change node rules when they are added

This commit is contained in:
Nick O'Leary 2016-04-13 18:09:41 -07:00
parent 44dc37ef6d
commit e92241bf97

View File

@ -195,7 +195,7 @@
row4.show();
}
});
deleteButton.click(function() {
container.css({"background":"#fee"});
container.fadeOut(300, function() {
@ -216,6 +216,9 @@
toValue.typedInput('type',rule.tot);
selectField.change();
var newWidth = $("#node-input-rule-container").width();
container.find('.red-ui-typedInput').typedInput("width",newWidth-180);
$("#node-input-rule-container").append(container);
}
$("#node-input-add-rule").click(function() {