Merge pull request #91 from cloudflare/fix-grid-clear

Remove all alert groups in Grid.Clear()
This commit is contained in:
Łukasz Mierzwa
2017-05-06 08:24:50 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ var Grid = (function() {
var clear = function() {
grid.masonry("remove", $(selectors.incident));
$(selectors.incident).remove();
};
var redraw = function() {

View File

@@ -456,7 +456,7 @@ func staticFiltersJs() (*asset, error) {
return a, nil
}
var _staticGridJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\x3d\x6f\xdb\x30\x10\xdd\xfd\x2b\x0e\x6a\x07\xc9\x70\xed\x14\xe8\xc4\xc0\x43\x91\x16\x69\xa6\x16\xf5\xd0\x99\x11\xcf\x36\x01\x8a\x14\xc8\x93\x53\x37\xf0\x7f\x2f\x48\x2a\xa2\x68\xcb\x49\x38\x91\xef\x9e\x1e\xdf\x7d\x50\xab\x39\xec\x94\x79\xe4\xca\xc1\x9d\xd1\x5b\xb9\x83\xf9\x6a\x36\x5b\xcd\x01\xff\xb6\xc6\x12\x0a\xb8\xb7\x52\x78\xf0\xc0\x6d\xdc\xaf\xa1\xdc\x76\xba\x26\x69\x74\x59\xc1\xf3\x6c\x06\x00\xe0\xa3\x0e\x15\xd6\x64\xac\x83\x35\x3c\x07\xd4\x2f\xae\xd0\x92\x63\x50\x7c\x88\xbb\x62\x31\x84\xa4\xae\xa5\x40\x4d\x0c\x8a\xe5\xcb\x7e\x14\xde\x59\x29\x36\xf2\x1f\x5a\x1f\xf7\x87\x4f\xce\x9f\x7a\xc6\xe9\x36\xdd\xec\x83\xa3\xa3\xd4\x92\x60\x0d\x99\xcb\xb1\x28\xac\xe1\x63\x39\xb8\x5d\x46\x5f\xd5\xb2\xe1\xce\x68\x7b\x2c\x13\x39\x98\x24\x6c\x36\x3d\x97\xa5\x1c\x07\xc3\x8b\x8c\x5d\x1b\xd5\x35\xfa\x8f\x14\xb4\x1f\x93\x87\x54\x72\x76\x8b\xb6\x46\x4d\xbf\x8c\x93\xde\x28\x03\xb2\x1d\xe6\x14\xb2\x5c\xc7\xe8\xb7\xce\xf2\xc8\x2a\x6e\x96\x5f\xc6\x75\xf4\x6b\x2f\x85\x40\xbd\xa1\xa3\x42\x06\x79\x06\x7e\x99\x96\xd7\x92\x8e\x0c\x6e\xb2\xd0\x29\x17\x39\x48\x27\x1f\x15\xbe\xad\xf2\x39\x57\x19\x4e\xa7\xea\xf6\xa2\x39\xb5\x42\x6e\x5f\x6b\xc7\x50\xf8\xc2\x62\x63\x0e\x58\x2c\xb2\xf6\xbc\x14\xba\x9a\xd0\xb6\x28\x2c\x7f\x7a\x9f\xb8\xe2\x47\xd3\x51\x31\xa9\xe2\xaf\x1d\xab\xa0\xc2\xe6\x1d\x36\x03\xed\x52\x8f\xb7\x2d\x6a\xf1\x9a\x9e\xdc\x42\x19\xdf\xdb\xf2\x1e\xe9\x67\x1b\x48\x45\xfc\x8e\x4c\x5b\x54\x1e\x2e\xab\xea\xac\x07\xc1\x46\x6b\xd1\xd3\xa2\x66\x32\xd5\xc3\x28\x72\x5f\xc1\x1b\xa0\x72\x38\xa5\x15\x6f\x3c\x97\x8a\xe8\xa4\xd2\x45\xae\xfe\x79\xb8\x6b\x0d\xb0\x48\x9d\xd5\x67\xd5\xdb\x21\x3d\x10\x36\xdf\x15\x36\xa8\xc9\x4d\x35\x64\x2f\x05\x5e\xd3\x9c\x7a\xb9\x9e\x5f\x4e\xe8\xb8\xbd\xb9\x3a\x1c\x53\x3a\x9e\x7f\xae\xd3\xe7\x90\x3e\x7c\xd0\x92\x58\xf8\xc7\xa4\xc7\x73\xe7\x67\x9c\xc5\x51\x4f\xe8\x0f\x29\x90\x85\x64\x12\xb6\xd9\x9b\x27\x16\x8c\x25\xec\x77\x98\x62\xd6\x4f\x73\xc2\xbf\x86\x3e\xb0\x7e\x9e\xc6\x7c\x3f\x7f\xac\x9f\xdb\x84\xfb\xb2\x3a\x16\x5b\x32\xe4\x70\xaa\x7c\x46\xff\x03\x00\x00\xff\xff\x36\xf8\xcb\x83\xe8\x05\x00\x00")
var _staticGridJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\xb1\x6e\xdb\x30\x10\xdd\xfd\x15\x07\xb5\x83\x64\xb8\x72\x0a\x74\x62\xe0\xa1\x48\x8b\x34\x53\x8b\x7a\xe8\xcc\x88\x67\x8b\x00\x45\x0a\x24\xe5\xd4\x0d\xfc\xef\xc5\x91\x8a\x28\xd9\x72\x12\x4e\xe4\xbb\xc7\xa7\x77\xbc\x3b\xad\x97\xb0\x57\xe6\x91\x2b\x07\x77\x46\xef\xe4\x1e\x96\xeb\xc5\x62\xbd\x04\xfc\xdb\x1a\xeb\x51\xc0\xbd\x95\x82\xc0\x03\xb7\x71\xbf\x81\x7c\xd7\xe9\xca\x4b\xa3\xf3\x02\x9e\x17\x0b\x00\x00\x8a\x3a\x54\x58\x79\x63\x1d\x6c\xe0\x39\xa0\xb4\xb8\x42\xeb\x1d\x83\xec\x43\xdc\x65\xab\x21\x24\x75\x25\x05\x6a\xcf\x20\x2b\x5f\xf6\xa3\xf0\xde\x4a\xb1\x95\xff\xd0\x52\x9c\x0e\x9f\x1c\x9d\x7a\xc6\xe9\x36\x7d\x99\x82\xa3\xa3\xd4\xd2\xc3\x06\x26\x2e\xc7\xa2\xb0\x81\x8f\xf9\xe0\xb6\x8c\xbe\x8a\xb2\xe1\xce\x68\x7b\xcc\x13\x39\x98\xf4\xd8\x6c\x7b\x2e\x4b\x39\x0e\x86\x57\x13\x76\x65\x54\xd7\xe8\x3f\x52\xf8\x7a\x4c\x1e\x52\x99\xb2\x5b\xb4\x15\x6a\xff\xcb\x38\x49\x46\x19\x78\xdb\xe1\x94\xe2\x2d\xd7\x31\xfa\xad\xb3\x3c\xb2\xb2\x9b\xf2\xcb\xf8\x1d\x69\xd5\x52\x08\xd4\x5b\x7f\x54\xc8\x60\x9a\x01\x2d\xd3\xf2\x4a\xfa\x23\x83\x9b\x49\xe8\x34\x15\x39\x48\x27\x1f\x15\xbe\xad\xf2\x79\xaa\x32\x9c\x4e\xc5\xed\x45\x71\x2a\x85\xdc\xbe\x56\x8e\xe1\xe1\x33\x8b\x8d\x39\x60\xb6\x9a\x94\xe7\xe5\xa1\x8b\x5e\x9b\xd6\x6c\xbc\x8c\xd7\xf3\x19\x0f\x16\x85\xe5\x4f\xef\x33\xa1\xf8\xd1\x74\x3e\x9b\x55\x21\xfd\xb1\x0a\x2a\x6c\xde\x91\x4e\xa0\x5d\xea\xf1\xb6\x45\x2d\x5e\xd3\x93\x3b\xc8\xe3\x5c\x96\xf7\xe8\x7f\xb6\x81\x94\xc5\x7b\xde\xb4\x59\x41\x70\x5e\x14\x67\xb5\x0a\x36\x5a\x8b\x44\x8b\x9a\xc9\x54\x0f\xa3\x98\xfa\x0a\xde\x00\x95\xc3\x39\xad\xf8\xc5\x73\xa9\x88\xce\x2a\x5d\xe4\x4a\x63\xe4\xae\x15\xc0\xa2\xef\xac\x3e\x7b\xbd\x3d\xfa\x07\x8f\xcd\x77\x85\x0d\x6a\xef\xe6\x0a\x52\x4b\x81\xd7\x34\xe7\x26\x9c\xf8\x73\xed\xe1\x6a\x73\xb5\x39\xe6\x74\x88\x7f\xae\xd3\xe7\x90\x2e\x3e\x68\xe9\x59\xf8\x17\xa5\x21\xbb\xa3\x59\x60\x71\x24\x12\xfa\x43\x0a\x64\x21\x99\x84\x6d\x6b\xf3\xc4\x82\xb1\x84\xfd\x0e\x5d\xcc\xfa\x6e\x4e\xf8\xd7\x50\x07\xd6\xf7\xd3\x98\x4f\xfd\xc7\xfa\xbe\x4d\x38\x3d\xab\x63\xb1\x24\x43\x0e\xa7\x82\x32\xfa\x1f\x00\x00\xff\xff\x0f\x6c\x55\xd9\x10\x06\x00\x00")
func staticGridJsBytes() ([]byte, error) {
return bindataRead(