diff --git a/ZpcBulletinBoard/wwwroot/css/boards-links/index.css b/ZpcBulletinBoard/wwwroot/css/boards-links/index.css index 0b63949..872d0f4 100644 --- a/ZpcBulletinBoard/wwwroot/css/boards-links/index.css +++ b/ZpcBulletinBoard/wwwroot/css/boards-links/index.css @@ -95,8 +95,4 @@ width: 170px; margin-left: 15px; margin-top: 5px; -} - -.btn-tool{ - /* padding: 1px; */ } \ No newline at end of file diff --git a/ZpcBulletinBoard/wwwroot/js/boards-links/index.js b/ZpcBulletinBoard/wwwroot/js/boards-links/index.js index 4abcfd3..d23f941 100644 --- a/ZpcBulletinBoard/wwwroot/js/boards-links/index.js +++ b/ZpcBulletinBoard/wwwroot/js/boards-links/index.js @@ -48,6 +48,8 @@ function loadBoards(){ function allowDropPage(ev) { console.log('allowDrop'); + console.log({tmp: ev.dataTransfer}); + console.log({tmp2: ev.dataTransfer.getData("test")}); if (ev.dataTransfer.getData("idPage")){ ev.preventDefault(); } @@ -56,6 +58,7 @@ function allowDropPage(ev) { function dragPage(ev, el) { console.log('drag'); ev.dataTransfer.setData("idPage", $(el).attr('data-id')); + ev.dataTransfer.setData("test",1); }