- Fix: Ensure repeated selection of same file overwrites with that
file's contents (fix #289)master
parent
0034447d44
commit
fa37778ec0
|
@ -23,7 +23,9 @@
|
||||||
PDF as export (#273 @cuixiping); fixes #124 and #254
|
PDF as export (#273 @cuixiping); fixes #124 and #254
|
||||||
- Fix: Polygon/polyline in PDF export (#287 @cuixiping); fixes #280
|
- Fix: Polygon/polyline in PDF export (#287 @cuixiping); fixes #280
|
||||||
- Fix: Ensure all apostrophes are escaped for `toXml` utility
|
- Fix: Ensure all apostrophes are escaped for `toXml` utility
|
||||||
- Fix: Avoid error if `URL` is not defined
|
- Fix: Avoid error if `URL` is not defined (export)
|
||||||
|
- Fix: Ensure repeated selection of same file overwrites with that
|
||||||
|
file's contents (fix #289)
|
||||||
- Fix (jPicker): Avoid setting `Math.precision` pseudo-global
|
- Fix (jPicker): Avoid setting `Math.precision` pseudo-global
|
||||||
- Fix (jPicker): Precision argument had not been passed in previously
|
- Fix (jPicker): Precision argument had not been passed in previously
|
||||||
- Fix (image import): Put src after onload to avoid missing event;
|
- Fix (image import): Put src after onload to avoid missing event;
|
||||||
|
|
|
@ -30780,7 +30780,7 @@ editor.init = function () {
|
||||||
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
||||||
workarea[0].addEventListener('drop', importImage, false);
|
workarea[0].addEventListener('drop', importImage, false);
|
||||||
|
|
||||||
var open = $$b('<input type="file">').change(function () {
|
var open = $$b('<input type="file">').click(function () {
|
||||||
var f = this;
|
var f = this;
|
||||||
editor.openPrep(function (ok) {
|
editor.openPrep(function (ok) {
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -30786,7 +30786,7 @@
|
||||||
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
||||||
workarea[0].addEventListener('drop', importImage, false);
|
workarea[0].addEventListener('drop', importImage, false);
|
||||||
|
|
||||||
var open = $$b('<input type="file">').change(function () {
|
var open = $$b('<input type="file">').click(function () {
|
||||||
var f = this;
|
var f = this;
|
||||||
editor.openPrep(function (ok) {
|
editor.openPrep(function (ok) {
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5679,7 +5679,7 @@ editor.init = function () {
|
||||||
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
||||||
workarea[0].addEventListener('drop', importImage, false);
|
workarea[0].addEventListener('drop', importImage, false);
|
||||||
|
|
||||||
const open = $('<input type="file">').change(function () {
|
const open = $('<input type="file">').click(function () {
|
||||||
const f = this;
|
const f = this;
|
||||||
editor.openPrep(function (ok) {
|
editor.openPrep(function (ok) {
|
||||||
if (!ok) { return; }
|
if (!ok) { return; }
|
||||||
|
|
|
@ -30783,7 +30783,7 @@
|
||||||
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
||||||
workarea[0].addEventListener('drop', importImage, false);
|
workarea[0].addEventListener('drop', importImage, false);
|
||||||
|
|
||||||
var open = $$b('<input type="file">').change(function () {
|
var open = $$b('<input type="file">').click(function () {
|
||||||
var f = this;
|
var f = this;
|
||||||
editor.openPrep(function (ok) {
|
editor.openPrep(function (ok) {
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
|
|
@ -30783,7 +30783,7 @@
|
||||||
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
workarea[0].addEventListener('dragleave', onDragLeave, false);
|
||||||
workarea[0].addEventListener('drop', importImage, false);
|
workarea[0].addEventListener('drop', importImage, false);
|
||||||
|
|
||||||
var open = $$b('<input type="file">').change(function () {
|
var open = $$b('<input type="file">').click(function () {
|
||||||
var f = this;
|
var f = this;
|
||||||
editor.openPrep(function (ok) {
|
editor.openPrep(function (ok) {
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
|
Loading…
Reference in New Issue