Skip to content

Commit

Permalink
Merge pull request #136 from cloudblue/LITE-28946
Browse files Browse the repository at this point in the history
LITE-28946 Uploaded file shall be accepted only in the marked DnD area
  • Loading branch information
nerimartinez authored Nov 30, 2023
2 parents 41180df + b6353bc commit 069c9bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion connect_ext_ppr/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<title>Index</title>
<script defer src="vendors.d43ac28a3eb5fa40c6ce.js"></script><script defer src="index.aa24cade4b08af337a2a.js"></script><link href="index.078542b7141079d77ac1.css" rel="stylesheet"></head>
<script defer src="vendors.d43ac28a3eb5fa40c6ce.js"></script><script defer src="index.8af7ae08238431f57421.js"></script><link href="index.078542b7141079d77ac1.css" rel="stylesheet"></head>

<body>
<div id="app"></div>
Expand Down
2 changes: 2 additions & 0 deletions ui/src/pages/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default {
this.toolkit.listen('containerSize', ({ height }) => {
this.height = height;
});
window.addEventListener('dragover', e => e.preventDefault(), false);
window.addEventListener('drop', e => e.preventDefault(), false);
},
};
</script>

0 comments on commit 069c9bf

Please sign in to comment.