dont show alert if we past text to textbox
This commit is contained in:
parent
a7c02ac47f
commit
7b7243a84d
|
@ -379,8 +379,8 @@ window.addEventListener("paste", function (e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!imgItemFound) {
|
if (!imgItemFound && whiteboard.tool!="text") {
|
||||||
showBasicAlert("Please Drag&Drop the file into the Whiteboard. (Browsers don't allow copy+past from the filesystem directly)");
|
showBasicAlert("Please Drag&Drop the image into the Whiteboard. (Browsers don't allow copy+past from the filesystem directly)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue