@gregoriusrippenstein/node-red-contrib-introspection 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gregoriusrippenstein/node-red-contrib-introspection",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "dependencies": {
5
5
  "got": "^13",
6
6
  "uglify-js": "^3.17.4",
@@ -240,6 +240,12 @@
240
240
  $('.red-ui-linkcall-link-indicator').remove()
241
241
  })
242
242
 
243
+ $('#node-input-msgtrace-clear-debug-btn').on('click', (e) => {
244
+ if ( e ) { e.preventDefault() }
245
+ // from [debug node](https://github.com/node-red/node-red/blob/2854351909dee9f92597faba3f37239134294eec/packages/node_modules/%40node-red/nodes/core/common/21-debug.html#L437)
246
+ RED.actions.invoke("core:clear-debug-messages")
247
+ })
248
+
243
249
  $('#node-input-msgtrace-clear-trace-btn').on('click', (e) => {
244
250
  if ( e ) { e.preventDefault() }
245
251
  setupTreeMsgTracerlist()
@@ -392,6 +398,8 @@
392
398
 
393
399
  <button id="node-input-msgtrace-clear-trace-btn" style="margin-left: 10px;"
394
400
  class="red-ui-button">Clear Trace</button>
401
+ <button id="node-input-msgtrace-clear-debug-btn" style="margin-left: 10px;"
402
+ class="red-ui-button">Clear Debug</button>
395
403
  </div>
396
404
 
397
405
  <div class="form-row"