mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update packages/node_modules/@node-red/nodes/core/common/91-global-config.html
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
parent
3c1ddb5c9d
commit
72ae375e44
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
<script type="text/html" data-template-name="global-config">
|
<script type="text/html" data-template-name="global-config">
|
||||||
<div class="form-tips">
|
<div class="form-row">
|
||||||
<span data-i18n="[html]global-config.tip"></span>
|
<button class="red-ui-button" type="button" id="node-input-edit-env-var" data-i18n="editor:env-var.header"></button>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -14,6 +13,11 @@
|
|||||||
},
|
},
|
||||||
credentials: {
|
credentials: {
|
||||||
map: { type: "map" }
|
map: { type: "map" }
|
||||||
|
},
|
||||||
|
oneditprepare: function() {
|
||||||
|
$('#node-input-edit-env-var').on('click', function(evt) {
|
||||||
|
RED.actions.invoke('core:show-user-settings', 'envvar')
|
||||||
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user