Skip to content

Commit 420fb48

Browse files
author
Dave Conway-Jones
committed
Fix spacer resizing issue
bump for 3.1.2
1 parent 18d1e75 commit 420fb48

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11

2-
### 3.1.1: Maintenance Release
2+
### 3.1.2: Maintenance Release
3+
4+
**Fixes**
5+
6+
- Fix dialogue notification to be able to return 1. Issue #736
7+
- Force saving of spacer size. Forum Issue
8+
9+
### 3.1.1: Maintenance Release
10+
11+
**Fixes**
312

413
- Replace ui_control messages feedback block (found out why it was there...)
514

dist/dashboard.appcache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Time: Wed Nov 10 2021 10:33:50 GMT+0000 (Greenwich Mean Time)
2+
# Time: Fri Nov 19 2021 16:53:05 GMT+0000 (Greenwich Mean Time)
33

44
CACHE:
55
i18n.js
@@ -26,4 +26,4 @@ loading.html
2626
NETWORK:
2727
*
2828

29-
# hash: 5a2139b65d1e77e088fa7b87e6288de218b38f1994fb1384b7a437c7eadb57b2
29+
# hash: 9eb1e7b63970218616a9f3deb95704fa38859984a0cc5dbd91f0ef036dfd4942

dist/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodes/ui_spacer.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
height: "#node-input-height",
3333
group: "#node-input-group"
3434
});
35+
},
36+
oneditsave: function() {
37+
this.width = $("#node-input-width").val();
38+
this.height = $("#node-input-height").val();
3539
}
3640
});
3741
</script>

nodes/ui_spacer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = function(RED) {
1919
order: config.order,
2020
width: config.width || group.config.width || 6,
2121
height: config.height || 1,
22-
className: config.className || '',
22+
className: config.className || ''
2323
}
2424
});
2525
node.on("close", done);

0 commit comments

Comments
 (0)