You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some explorer won't show the file selection dialog,because in the "_showDialog" function,the element input should putinto the document node,here is the original code:
ImageTool.prototype._showDialog = function() {
var acceptedMIMEStr = this.options.acceptedMIMETypes.join(',');
var $el = $('');
$el.on('change', this._processFileInput.bind(this));
$el.click();
};
and the below one will work:
ImageTool.prototype._showDialog = function() {
var acceptedMIMEStr = this.options.acceptedMIMETypes.join(',');
var $el = $('');
$el.on('change', this._processFileInput.bind(this)); $(document.body).append($el);
$el.click(); $(document.body).remove($el);
};
and also the BackgroundImageTool plugin in the "BackgroundImageTool.prototype._showDialog" function should modify as above。
The text was updated successfully, but these errors were encountered:
In some explorer won't show the file selection dialog,because in the "_showDialog" function,the element input should putinto the document node,here is the original code:$el = $ ('');
ImageTool.prototype._showDialog = function() {
var acceptedMIMEStr = this.options.acceptedMIMETypes.join(',');
var
$el.on('change', this._processFileInput.bind(this));
$el.click();
};
and the below one will work:
ImageTool.prototype._showDialog = function() {$el = $ ('');
var acceptedMIMEStr = this.options.acceptedMIMETypes.join(',');
var
$el.on('change', this._processFileInput.bind(this));
$(document.body).append($el);
$el.click();
$(document.body).remove($el);
};
and also the BackgroundImageTool plugin in the "BackgroundImageTool.prototype._showDialog" function should modify as above。
The text was updated successfully, but these errors were encountered: