fix #87
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -528,8 +528,6 @@ document.addEventListener('DOMContentLoaded', event => {
|
||||
buttons.download = document.getElementById('download')
|
||||
buttons.move = document.getElementById('move')
|
||||
|
||||
buttons.move.addEventListener('click', listing.moveEvent)
|
||||
|
||||
document.getElementById('multiple-selection-activate').addEventListener('click', event => {
|
||||
listing.selectMultiple = true
|
||||
clickOverlay.click()
|
||||
@@ -546,6 +544,7 @@ document.addEventListener('DOMContentLoaded', event => {
|
||||
})
|
||||
|
||||
if (user.AllowEdit) {
|
||||
buttons.move.addEventListener('click', listing.moveEvent)
|
||||
buttons.rename.addEventListener('click', listing.rename)
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -571,7 +571,7 @@ func publicJsEditorJs() (*asset, error) {
|
||||
return a, nil
|
||||
}
|
||||
|
||||
var _publicJsListingJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x3b\xeb\x6e\xdb\x38\xd6\xff\x0b\xf4\x1d\x58\xcc\xf7\x8d\x24\xc4\x55\x9c\xb9\x60\x81\xce\xba\x8b\x36\xe9\xec\x74\x27\x4d\x8b\x26\xc5\x2e\x50\x14\x28\x2d\x1d\xdb\x9c\xd0\xa4\x86\xa4\xe2\xf1\xb6\x7e\xf7\x05\x49\x51\x22\x75\xb3\x93\x74\x66\x77\xf2\x27\xb6\xc4\x73\x78\x6e\x3c\x57\x3a\x2a\x25\x20\xa9\x04\xc9\x54\xf4\xf0\xc1\xc3\x07\x37\x58\x20\x4a\xa4\x22\x6c\x89\x66\xe8\xd3\xc3\x07\x08\x49\xa0\x90\xa9\x57\x25\x55\xa4\xa0\xf0\x04\x2d\x30\x95\xf0\xf0\xc1\x4e\x2f\xaf\x96\xa6\x02\x28\xc7\x39\x9a\xa1\x45\xc9\x32\x45\x38\x43\x71\x86\x29\x9d\xe3\xec\x3a\xb1\x58\x28\x28\x24\xe0\xd7\x12\xa4\x42\x33\xc4\x60\x83\xfe\xf5\xea\xfc\x27\xa5\x8a\xb7\xf6\x61\x9c\x68\x7c\xc8\xad\x49\x79\x01\x2c\x8e\xfe\xfe\xe2\x2a\x9a\xa0\x0d\x61\x39\xdf\xa4\x94\x67\x58\xe3\x4e\xfc\x75\x12\x54\x85\xe1\x27\xc0\x39\x88\x38\x7a\x45\x18\x59\x63\x1a\x4d\x50\xa4\x44\x09\x51\x6b\x39\xcb\xe3\xe0\x09\x67\x02\x70\xbe\x95\x0a\x2b\xc8\x56\x98\x2d\x21\x60\xa3\x22\x1f\x21\xb2\x40\xb1\x83\x31\x10\x97\x1a\x02\xcd\x66\x33\xf4\x5d\xbd\x28\x5c\xa6\x71\x96\xd2\x2c\xf9\x66\x3a\xf5\x16\x21\x94\xf3\xac\x5c\x03\x53\xe9\xaf\x25\x88\xed\xa5\x11\x31\x17\x71\x34\xe7\xf9\x16\xad\x31\x61\x51\x92\x12\xc6\x40\xfc\x74\xf5\xea\x1c\xcd\x50\xb3\xb3\x2c\x38\x93\x70\x05\xbf\xa9\x06\x9b\x53\x03\xce\xf3\x33\x5e\xce\x29\x5c\xe1\xe2\xc5\x0d\xb0\x5a\xaa\x0d\x6d\x6a\x5b\x00\x5f\x20\xa7\x1d\x43\x5c\xe4\xd8\x8d\x02\x1a\x51\xbd\xca\x4a\xcc\xfe\xed\xdc\xc7\xea\x83\xf9\xb7\x6b\xd9\x03\x51\xb0\x3e\x13\x78\x79\xa9\xb0\x50\x81\x3c\x41\x93\xe5\xd9\x04\x50\x34\x43\xe6\x61\xaa\xb0\x58\x82\xb2\x04\x2f\xb8\x40\xb1\x7e\x4f\xd0\x0c\x4d\x7f\x40\x04\xfd\x15\x7d\xff\x03\x22\x47\x47\x81\x42\x1e\x01\x4d\x33\x8a\xa5\x3c\x27\x52\xa5\x19\x67\x0a\x13\x26\xe3\x48\xef\x1f\x25\x1e\x37\x76\x1b\x9a\x16\x58\x00\x53\x2f\x28\x68\xe1\x87\x0c\xe8\x7f\x96\x90\x1c\x2b\x7c\x25\x30\x93\x0b\x10\xda\xc0\xce\xb0\xc2\x71\x44\xf2\x68\xa2\x51\x90\x3c\xd9\xb7\x94\xe1\x35\xd8\xc5\x2d\xf5\xa6\xe6\x8d\xa7\xda\x64\x40\x70\xaf\x6f\x40\x0c\xca\xcd\x6e\x5d\x08\xf3\xff\x0c\x16\xb8\xa4\xca\xaa\xe8\x7f\x50\xa2\x34\x95\x6a\x4b\x21\xe5\x05\xce\x88\xda\xa2\x19\x3a\xe9\xe5\x99\x17\x21\xbf\x8e\xd7\x1e\x3e\x43\x4e\x2b\x2e\x27\x15\x0f\xb9\x79\x16\xe8\x65\xe9\xa9\x30\xa9\xd6\x69\x45\x8c\xac\xb4\x7a\xb2\x5b\x69\xb1\x68\xb4\x33\x14\x45\xe8\xf3\xe7\x0a\x54\x7f\x4b\x90\x00\x55\x0a\xf6\x5f\x95\xb0\xc6\x69\xcc\xd2\x9c\x65\x92\x87\x44\x69\x7a\x38\xcd\xcf\x09\xbb\x46\xb3\xc6\xed\x2c\xc1\x21\x7c\xbe\x7d\x99\xc7\x24\x4f\x8c\x20\x24\xa8\xb4\x14\xd4\xc9\x08\x36\x15\x1c\x50\xff\x35\x3a\x32\x32\xb0\x1b\x6c\x60\x9e\xe3\x9b\x74\xcd\x6f\x20\xae\x36\x9a\x38\xc8\xca\x6d\xa4\x6a\x05\x2c\x8e\x13\x34\x7b\x8a\xc2\x88\x11\x27\x6e\x49\x86\x55\xb6\x8a\x41\x2f\xc9\x38\x93\x9c\x42\x4a\xf9\x32\x86\xa4\x7d\x42\x1c\x0b\x5d\x8b\x39\xf8\x84\xe4\xaa\x3e\x21\xbe\xf6\x2b\xae\x17\x84\x82\xd4\xb2\x52\xa9\xf9\x58\x3d\xee\x1c\x2b\x67\x70\x0a\xd6\xb2\x5f\xb4\xf2\xf9\xf6\x54\x2b\xfa\x02\xaf\xc1\xe9\xf7\x56\xa6\x02\x14\x3d\x9a\x21\x56\x52\x8a\xbe\xfe\x1a\xfd\x1e\x86\x63\x38\x4c\x29\xb0\xa5\x5a\xa1\xa7\x68\x3a\xb2\xfd\xe8\xee\xd5\x02\x67\x24\x39\x11\xe6\x84\xd8\x00\xdc\x50\xe6\x94\xb8\xc2\x2c\xa7\xf0\xa3\xde\xdc\x92\x70\x90\xb3\x44\x47\x28\x3a\x8e\xea\x58\xe4\xcc\xbc\xe2\xcb\x7e\x18\xd9\x21\xb2\xa0\x3b\x04\x54\x82\xa3\xe9\x99\x10\x78\x9b\x2e\x04\x5f\xc7\x46\x93\x49\xba\xe0\xe2\x05\xce\x56\x06\x4a\x9b\x63\x4d\xbc\x7e\xd0\xe7\xcc\xcc\xfe\x49\x5f\x18\x14\x50\xb9\x99\x7e\x2b\x35\xde\xc0\xa6\x57\x90\xbf\xd4\xbb\x3b\x4d\x7c\xfe\x8c\x7a\x9f\x3f\x45\x27\xb5\x34\x2d\xfb\x2e\x1d\xab\x45\x60\xac\x4a\xc1\x7a\xe4\xb4\x07\xa8\xdf\x4f\x3f\xf8\x7e\x4e\xc1\xba\x57\xcd\x39\x91\x78\x4e\x21\xf7\x0c\x6d\x84\x00\x6a\xdd\x86\xc1\xd6\xf5\x2b\x0b\x02\x34\x77\xaf\xfb\x95\x1e\x7a\x69\x03\xd0\xd8\x41\xb3\x8f\x2c\xe7\x6b\xa2\x4f\xb3\x93\x6b\xa3\xaf\x21\x17\x50\x99\x09\x28\xed\xa4\x2e\xaa\x28\x60\xd6\x66\xa5\xd0\xe7\xe5\xca\x9c\xee\x36\x5d\x84\x15\xa5\x8a\x92\xf4\x06\xd3\x12\x26\xce\x24\x1a\x0f\x29\x40\x7b\xc0\x73\x2c\xd5\x19\x11\x06\x66\xfb\x06\x0b\xf5\x7a\x11\x6b\x59\x24\xd6\x74\xb5\xe3\xb4\x9b\x3a\x3a\x32\xca\x25\xbc\x11\x7c\x5d\xa8\x8a\x05\xfb\x7c\x5e\x2a\xc5\x99\xd4\x29\xc5\x39\xc7\x39\x61\xcb\x38\xb2\xd6\x14\xd5\x3c\xf8\x9e\x97\x06\x6e\xd7\x77\xb8\x9d\xb3\x57\x79\xde\xd6\x5b\xe4\x89\x63\xae\x38\x8e\xab\xaf\x5e\xe6\x17\x98\x0d\x9a\xa1\xf7\xd5\x92\x0f\x3d\x69\x6d\xcb\xe2\x1c\x32\xcd\xcf\x33\xa5\x04\x99\x97\x0a\xe2\x08\x0b\x82\x1f\x3b\xb4\xd1\x04\x69\x77\x91\x74\xd3\x5a\x7b\x96\xad\x2e\x08\x67\xa7\x26\x4b\x6f\x72\xd2\x9d\x97\xe4\x7a\x72\x3b\xe3\x0c\x7c\xa1\xd9\xa5\x2e\xd0\x08\xc1\x45\xeb\x74\x07\x36\xa6\x8b\x14\xa3\xa7\x71\xbc\x13\x6b\xfe\x35\x2d\x41\xec\xd2\x7b\x24\x8d\x7f\xd8\x7b\x6a\x32\xca\x19\xf8\xe7\x96\xac\x0b\x2e\xd4\x05\xcf\x21\x56\xb0\x2e\x28\x56\x20\x53\x53\x08\x10\xce\xcc\xe1\x04\xa6\x3c\xb1\x19\x04\x6d\xcb\x5d\x7d\xdb\xaa\x25\xa2\xb7\x96\xf6\x41\x88\xc0\xd6\x3d\x41\xf4\x2e\x4e\xf9\xf5\x6d\xf1\x2f\xb8\x58\x47\x89\xae\x56\x4c\x91\xa2\x3d\x0d\x30\x5d\xba\xd9\xe3\x1c\x4d\xaa\x73\x5d\xc9\x6c\xac\x56\xd2\x68\x8a\x02\x58\x7e\xba\x22\x34\xLine truncated
|
||||
var _publicJsListingJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x3b\xeb\x6e\xdb\x38\xd6\xff\x0b\xf4\x1d\x58\xcc\xf7\x8d\x24\xc4\x55\x9c\xb9\x60\x81\xce\xba\x8b\x36\xe9\xec\x74\x27\x4d\x8b\x26\xc5\x2e\x50\x14\x28\x2d\x1d\xdb\x9c\xd0\xa4\x86\xa4\xe2\xf1\xb6\x7e\xf7\x05\x49\x51\x22\x75\xb3\x93\x74\x66\x77\xf2\x27\xb6\xc4\x73\x78\xee\x37\xd2\x51\x29\x01\x49\x25\x48\xa6\xa2\x87\x0f\x1e\x3e\xb8\xc1\x02\x51\x22\x15\x61\x4b\x34\x43\x9f\x1e\x3e\x40\x48\x02\x85\x4c\xbd\x2a\xa9\x22\x05\x85\x27\x68\x81\xa9\x84\x87\x0f\x76\x7a\x79\xb5\x34\x15\x40\x39\xce\xd1\x0c\x2d\x4a\x96\x29\xc2\x19\x8a\x33\x4c\xe9\x1c\x67\xd7\x89\xc5\x42\x41\x21\x01\xbf\x96\x20\x15\x9a\x21\x06\x1b\xf4\xaf\x57\xe7\x3f\x29\x55\xbc\xb5\x0f\xe3\x44\xe3\x43\x6e\x4d\xca\x0b\x60\x71\xf4\xf7\x17\x57\xd1\x04\x6d\x08\xcb\xf9\x26\xa5\x3c\xc3\x1a\x77\xe2\xaf\x93\xa0\x2a\x0c\x3f\x01\xce\x41\xc4\xd1\x2b\xc2\xc8\x1a\xd3\x68\x82\x22\x25\x4a\x88\x5a\xcb\x59\x1e\x07\x4f\x38\x13\x80\xf3\xad\x54\x58\x41\xb6\xc2\x6c\x09\x01\x1b\x15\xf9\x08\x91\x05\x8a\x1d\x8c\x81\xb8\xd4\x10\x68\x36\x9b\xa1\xef\xea\x45\xe1\x32\x8d\xb3\x94\x66\xc9\x37\xd3\xa9\xb7\x08\xa1\x9c\x67\xe5\x1a\x98\x4a\x7f\x2d\x41\x6c\x2f\x8d\x88\xb9\x88\xa3\x39\xcf\xb7\x68\x8d\x09\x8b\x92\x94\x30\x06\xe2\xa7\xab\x57\xe7\x68\x86\x9a\x9d\x65\xc1\x99\x84\x2b\xf8\x4d\x35\xd8\x9c\x1a\x70\x9e\x9f\xf1\x72\x4e\xe1\x0a\x17\x2f\x6e\x80\xd5\x52\x6d\x68\x53\xdb\x02\xf8\x02\x39\xed\x18\xe2\x22\xc7\x6e\x14\xd0\x88\xea\x55\x56\x62\xf6\x6f\xe7\x3e\x56\x1f\xcc\xbf\x5d\xcb\x1e\x88\x82\xf5\x99\xc0\xcb\x4b\x85\x85\x0a\xe4\x09\x9a\x2c\xcf\x26\x80\xa2\x19\x32\x0f\x53\x85\xc5\x12\x94\x25\x78\xc1\x05\x8a\xf5\x7b\x82\x66\x68\xfa\x03\x22\xe8\xaf\xe8\xfb\x1f\x10\x39\x3a\x0a\x14\xf2\x08\x68\x9a\x51\x2c\xe5\x39\x91\x2a\xcd\x38\x53\x98\x30\x19\x47\x7a\xff\x28\xf1\xb8\xb1\xdb\xd0\xb4\xc0\x02\x98\x7a\x41\x41\x0b\x3f\x64\x40\xff\xb3\x84\xe4\x58\xe1\x2b\x81\x99\x5c\x80\xd0\x06\x76\x86\x15\x8e\x23\x92\x47\x13\x8d\x82\xe4\xc9\xbe\xa5\x0c\xaf\xc1\x2e\x6e\xa9\x37\x35\x6f\x3c\xd5\x26\x03\x82\x7b\x7d\x03\x62\x50\x6e\x76\xeb\x42\x98\xff\x67\xb0\xc0\x25\x55\x56\x45\xff\x83\x12\xa5\xa9\x54\x5b\x0a\x29\x2f\x70\x46\xd4\x16\xcd\xd0\x49\x2f\xcf\xbc\x08\xf9\x75\xbc\xf6\xf0\x19\x72\x5a\x71\x39\xa9\x78\xc8\xcd\xb3\x40\x2f\x4b\x4f\x85\x49\xb5\x4e\x2b\x62\x64\xa5\xd5\x93\xdd\x4a\x8b\x45\xa3\x9d\xa1\x28\x42\x9f\x3f\x57\xa0\xfa\x5b\x82\x04\xa8\x52\xb0\xff\xaa\x84\x35\x4e\x63\x96\xc6\x97\x49\x1e\x12\xa5\xe9\xe1\x34\x3f\x27\xec\x1a\xcd\x9a\xb0\xb3\x04\x87\xf0\xf9\xf6\x65\x1e\x93\x3c\x31\x82\x90\xa0\xd2\x52\x50\x27\x23\xd8\x54\x70\x40\xfd\xd7\xe8\xc8\xc8\xc0\x6e\xb0\x81\x79\x8e\x6f\xd2\x35\xbf\x81\xb8\xda\x68\xe2\x20\xab\xb0\x91\xaa\x15\xb0\x38\x4e\xd0\xec\x29\x0a\x33\x46\x9c\xb8\x25\x19\x56\xd9\x2a\x06\xbd\x24\xe3\x4c\x72\x0a\x29\xe5\xcb\x18\x92\xb6\x87\x38\x16\xba\x16\x73\xb0\x87\xe4\xaa\xf6\x10\x5f\xfb\x15\xd7\x0b\x42\x41\x6a\x59\xa9\xd4\x7c\xac\x1e\x77\xdc\xca\x19\x9c\x82\xb5\xec\x17\xad\x7c\xbe\x3d\xd5\x8a\xbe\xc0\x6b\x70\xfa\xbd\x95\xa9\x00\x45\x8f\x66\x88\x95\x94\xa2\xaf\xbf\x46\xbf\x87\xe1\x18\x0e\x53\x0a\x6c\xa9\x56\xe8\x29\x9a\x8e\x6c\x3f\xba\x7b\xb5\xc0\x19\x49\x4e\x84\xf1\x10\x9b\x80\x1b\xca\x9c\x12\x57\x98\xe5\x14\x7e\xd4\x9b\x5b\x12\x0e\x0a\x96\xe8\x08\x45\xc7\x51\x9d\x8b\x9c\x99\x57\x7c\xd9\x0f\x23\x3b\x44\x16\x74\x87\x80\x4a\x70\x34\x3d\x13\x02\x6f\xd3\x85\xe0\xeb\xd8\x68\x32\x49\x17\x5c\xbc\xc0\xd9\xca\x40\x69\x73\xac\x89\xd7\x0f\xfa\x82\x99\xd9\x3f\xe9\x4b\x83\x02\xaa\x30\xd3\x6f\xa5\x26\x1a\xd8\xf2\x0a\xf2\x97\x7a\x77\xa7\x89\xcf\x9f\x51\xef\xf3\xa7\xe8\xa4\x96\xa6\x65\xdf\x95\x63\xb5\x08\x8c\x55\x29\x58\x8f\x78\x7b\x80\xfa\xfd\xf4\x83\x1f\xe7\x14\xac\x7b\xd5\x9c\x13\x89\xe7\x14\x72\xcf\xd0\x46\x08\xa0\x36\x6c\x18\x6c\xdd\xb8\xb2\x20\x40\x73\xf7\xba\x5f\xe9\x61\x94\x36\x00\x8d\x1d\x34\xfb\xc8\x72\xbe\x26\xda\x9b\x9d\x5c\x1b\x7d\x0d\x85\x80\xca\x4c\x40\xe9\x20\x75\x51\x65\x01\xb3\x36\x2b\x85\xf6\x97\x2b\xe3\xdd\x6d\xba\x08\x2b\x4a\x15\x25\xe9\x0d\xa6\x25\x4c\x9c\x49\x34\x11\x52\x80\x8e\x80\xe7\x58\xaa\x33\x22\x0c\xcc\xf6\x0d\x16\xea\xf5\x22\xd6\xb2\x48\xac\xe9\xea\xc0\x69\x37\x75\x74\x64\x94\x4b\x78\x23\xf8\xba\x50\x15\x0b\xf6\xf9\xbc\x54\x8a\x33\xa9\x4b\x8a\x73\x8e\x73\xc2\x96\x71\x64\xad\x29\xaa\x79\xf0\x23\x2f\x0d\xc2\xae\x1f\x70\x3b\xbe\x57\x45\xde\xd6\x5b\xe4\x89\x63\xae\x38\x8e\xab\xaf\x5e\xe5\x17\x98\x0d\x9a\xa1\xf7\xd5\x92\x0f\x3d\x65\x6d\xcb\xe2\x1c\x32\xcd\xcf\x33\xa5\x04\x99\x97\x0a\xe2\x08\x0b\x82\x1f\x3b\xb4\xd1\x04\xe9\x70\x91\x74\xcb\x5a\xeb\xcb\x56\x17\x84\xb3\x53\x53\xa5\x37\x35\xe9\xce\x2b\x72\x3d\xb9\x9d\x71\x06\xbe\xd0\xec\x52\x97\x68\x84\xe0\xa2\xe5\xdd\x81\x8d\xe9\x26\xc5\xe8\x69\x1c\xef\xc4\x9a\x7f\x4d\x4b\x90\xbb\xf4\x1e\x49\x13\x1f\xf6\x7a\x4d\x46\x39\x03\xdf\x6f\xc9\xba\xe0\x42\x5d\xf0\x1c\x62\x05\xeb\x82\x62\x05\x32\x35\x8d\x00\xe1\xcc\x38\x27\x30\xe5\x89\xcd\x20\x68\x5b\xee\xea\xdb\x56\x2f\x11\xbd\xb5\xb4\x0f\x42\x04\xb6\xee\x09\xa2\x77\x71\xca\xaf\x6f\x8b\x7f\xc1\xc5\x3a\x4a\x74\xb7\x62\x9a\x14\x1d\x69\x80\xe9\xd6\xcd\xba\x73\x34\xa9\xfc\xba\x92\xd9\x58\xaf\xa4\xd1\x14\x05\xb0\xfc\x74\x45\x68\x1e\x9b\xed\xLine truncated
|
||||
|
||||
func publicJsListingJsBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
@@ -586,7 +586,7 @@ func publicJsListingJs() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "public/js/listing.js", size: 15691, mode: os.FileMode(438), modTime: time.Unix(1492952750, 0)}
|
||||
info := bindataFileInfo{name: "public/js/listing.js", size: 15691, mode: os.FileMode(438), modTime: time.Unix(1493114110, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user