You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/09/12 12:32:16 UTC

[kibble] 01/02: need to properly reset path on reset

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git

commit 56f7ecc7a8ae8dfe6ff4f134f7107ecd5f6be45a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Sep 12 14:32:02 2018 +0200

    need to properly reset path on reset
---
 ui/js/coffee/explorer.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/coffee/explorer.coffee b/ui/js/coffee/explorer.coffee
index be9a7f9..7f9e3a1 100644
--- a/ui/js/coffee/explorer.coffee
+++ b/ui/js/coffee/explorer.coffee
@@ -110,7 +110,7 @@ explorer = (json, state) ->
         state.widget.inject(p)
         
         b = new HTML('input', {style: { marginLeft: '10px'}, class: 'btn btn-small btn-success', type: 'button', onClick: 'pathFilter();', value: "filter paths"})
-        rb = new HTML('input', {style: { marginLeft: '10px'}, class: 'btn btn-small btn-danger', type: 'button', onClick: 'get("pathfilter").value = ""; pathFilter();', value: "reset"})
+        rb = new HTML('input', {style: { marginLeft: '10px'}, class: 'btn btn-small btn-danger', type: 'button', onClick: 'get("pathfilter").value = ""; pathFilterGlob = ""; pathFilter();', value: "reset"})
         state.widget.inject(b)
         state.widget.inject(rb)