removed debugger breaks for IE

This commit is contained in:
petkir 2020-06-19 21:32:53 +02:00
parent 28cee20809
commit f5a3e8e9f8
3 changed files with 0 additions and 3 deletions

View File

@ -180,7 +180,6 @@ export default class KanbanComponent extends React.Component<IKanbanComponentPro
console.log('onDragStart taskitem'); console.log('onDragStart taskitem');
if (taskitem.length === 1) { if (taskitem.length === 1) {
console.log('onDragStart taskitem check done'); console.log('onDragStart taskitem check done');
console.log(event);
event.dataTransfer.setData("text", taskId); event.dataTransfer.setData("text", taskId);
//event.dataTransfer.setData("sourcebucket", bucket); //event.dataTransfer.setData("sourcebucket", bucket);
//set element because event.dataTransfer is empty by DragOver //set element because event.dataTransfer is empty by DragOver

View File

@ -71,7 +71,6 @@ export default class KanbanTask extends React.Component<IKanbanTaskProps, IKanba
} }
private _openDetails(): void { private _openDetails(): void {
debugger;
if (this.props.openDetails) { if (this.props.openDetails) {
this.props.openDetails(this.props.taskId); this.props.openDetails(this.props.taskId);
} }

View File

@ -99,7 +99,6 @@ export class MockKanban extends React.Component<IMockKanbanProps, IMockKanbanSta
} }
private _moved(taskId: string, targetBucket: IKanbanBucket): void { private _moved(taskId: string, targetBucket: IKanbanBucket): void {
debugger;
const elementsIndex = findIndex(this.state.tasks, element => element.taskId == taskId); const elementsIndex = findIndex(this.state.tasks, element => element.taskId == taskId);
let newArray = [...this.state.tasks]; let newArray = [...this.state.tasks];
newArray[elementsIndex].bucket = targetBucket.bucket; newArray[elementsIndex].bucket = targetBucket.bucket;