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:
parent
44dc37ef6d
commit
e92241bf97
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user