diff --git a/k2ws/static.go b/k2ws/static.go index f038aa0..fc6caef 100644 --- a/k2ws/static.go +++ b/k2ws/static.go @@ -1539,65 +1539,66 @@ kiUMoBggeD6Lm4mHt/4AW3YaQ4UkI8L4eO2GipXe0N+ERLBYat2jIi//NwAA//+AXj1l6q0AAA== "/static/test.html": { local: "static/test.html", - size: 16249, - modtime: 1536613636, + size: 16597, + modtime: 1536614728, compressed: ` -H4sIAAAAAAAC/9w7/ZPaOJa/81e8+GYHE2igk+29XcCkZjLZu7mbmWwlvbd1NTc1JewHaNqWXJbcH8ny -v19JssE2kjEkqZs6UpXGlt7T+/6QxOLZd29f3/73397AVibxsrdQf0DIpxgDb4t0s5Wz6+n0D96y11ts -kUTLHgDAIkFJINySTKAMvFyur/6spuixmLI7yDAOPI1HbBGlB9sM14H38eP4FoX8G5Hb3W4iJJE0nIgU -Q5nhOBRiElEh9y8SytRLb/mZEV/hY/rlkNOQM9FEL8KMphJEFjrQhTzChGYZzyY345d/Hk8rbzSy34S3 -XEwMnktpPrmIohjCjAvBM7qhLPAI4+wp4fmBE7WU+a4+49c8wh81BvgIhcmAspk57AzEpAJyiSASHuHk -N3JPDGzlq0sw1Qf1WecslJQz+Gr9q+SbTYzf5lJy5mOMCTI5AmRkFeMISCjpPVFzB/BxD68+dA3+M/ew -+hTYxhEVClsEATwziOe1uTvAWKAFgbIcaWjA1zERAgLoryS7SjOakOypPz8CUWSZNWwU7QkvSQsV1h+o -kOOQM0koE35luYELR5W7AwoSRTXouRV2d/TWyf+eoS9BbYYJv8fLCO7Zn3Y9q4k9iL+/+8FvUndPMpA8 -paHSasTDXNO3QfnGkPrt0/eR75kZ3mB8T+K8YTcKwybjeforjdpw6DljGrmxkFzyX/l6LVC2IVLTxmba -OEOB0o4xQ5lnDJQ//+P939/9sNu9MmwEHgxLnofgfV0Spt/vOVEjRyvpKRUy5zahP1AW8Qdlh2/ukUml -ZmSY+V7MSeSNDkrx8V7a9PHVVxhDYDEjniKbuQWjhr3B6NiB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I+8kfpqG/nya3L6nMP+b ++vXi2Z9ClVuqTlOmBgfF1P+/AvffD5m/1lf/Q0UKHONQNupOadlC+sGNpJlJ9eZQfOBhxGOChfTmxa/Z +yMw4GlWMpEIEhnisCxHzy5ubsXaoZyMD9zltbzZSQqwnsMrU+mVD9VgkMuU5ZygmKzoBriqnlnVlpUkp +srU51EqzpFziAKJRcQEcSTwA09BIBi6N7/J35XWZ+TjP4jCCmcgW89K8VJSGk1TMRmpCm0LEYqn5rdxq +Tcun0wtRtUkuOpPwlQFvBfAsbyAVmza2qtb2cDz25g/HY0iE26xqMBcK5uI4mPPxeGy36XMQODxmbbX4 +UTCPxhro0dgNZXcWl+HpJ7L2MmyrhudqcYkhzLjqG/PXCrx5fv+4gjQHLnCbZ7alktTcOBKn2Vfa4tSX +kHOjmoYSej22j77k6/nPL9t6nj90954qiCCOkek4TdNe9ZL8TeTqe8nmKUGhvPlsVOBpHdEuLBGtVprn +7J3FeCkncFHhsVLg796PayI9b/0ZjzCfwHl6C4LFJAK+Wvjn334/gOJPz+b/FUHl72zNRw/AU9lQAKEh +S5KS/jsPIBMYvJUHSOSvxYA5eQtkCXcsA4px1HkAMRISVC+oH5/AAocswQKWhKK4hG2JYnG3jcY3JI5V +pxxxlqY4ggejTmLTQnOqyX/ORgsW3c07ndnI/CcG/w0AAP//5nTGjtVAAAA= `, }, diff --git a/k2ws/static/test.html b/k2ws/static/test.html index 67e09d5..4c85192 100644 --- a/k2ws/static/test.html +++ b/k2ws/static/test.html @@ -63,6 +63,7 @@ message: '', intervalMsgFreezed: false, filterEnabled: false, + filterInvalidated: false, stackingEnabled: false, stackedMessages: 0, closeAfter: 0, @@ -128,6 +129,10 @@ return msg; } + $$el.filterEditor.on('change', function(cMirror){ + $$flags.filterInvalidated = true; + }); + $f_toggleButton($$el.close, false); document.getElementById("open").onclick = function (evt) { if ($$ws) { @@ -173,6 +178,9 @@ document.getElementById("close").click(); } } + } else if ($$flags.filterInvalidated) { + $$flags.message = ''; + $$flags.filterInvalidated = false; } } }