Skip to content

Commit

Permalink
elFinder up to newly ( Studio-42/elFinder@e9d7e60 )
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Oct 25, 2017
1 parent 10b9baa commit 77579d0
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion html/common/elfinder/css/elfinder.full.css
@@ -1,6 +1,6 @@
/*!
* elFinder - file manager for web
* Version 2.1.29 (2.1 Nightly: 7571749) (2017-10-25)
* Version 2.1.29 (2.1 Nightly: e9d7e60) (2017-10-25)
* http://elfinder.org
*
* Copyright 2009-2017, Studio 42
Expand Down
2 changes: 1 addition & 1 deletion html/common/elfinder/css/elfinder.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion html/common/elfinder/js/elFinder.version.js
Expand Up @@ -3,5 +3,5 @@
*
* @type String
**/
elFinder.prototype.version = '2.1.29 (2.1 Nightly: 7571749)';
elFinder.prototype.version = '2.1.29 (2.1 Nightly: e9d7e60)';

4 changes: 2 additions & 2 deletions html/common/elfinder/js/elfinder.full.js
@@ -1,6 +1,6 @@
/*!
* elFinder - file manager for web
* Version 2.1.29 (2.1 Nightly: 7571749) (2017-10-25)
* Version 2.1.29 (2.1 Nightly: e9d7e60) (2017-10-25)
* http://elfinder.org
*
* Copyright 2009-2017, Studio 42
Expand Down Expand Up @@ -8674,7 +8674,7 @@ if (!String.prototype.repeat) {
*
* @type String
**/
elFinder.prototype.version = '2.1.29 (2.1 Nightly: 7571749)';
elFinder.prototype.version = '2.1.29 (2.1 Nightly: e9d7e60)';



Expand Down
4 changes: 2 additions & 2 deletions html/common/elfinder/js/elfinder.min.js

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions html/common/elfinder/js/extras/editors.default.js
Expand Up @@ -117,10 +117,10 @@
file = this.file,
src = 'https://pixlr.com/'+mode+'/?s=c',
myurl = window.location.href.toString().replace(/#.*$/, ''),
error = function() {
error = function(error) {
container.remove();
node.data('loading')(true);
fm.error('Can not launch Pixlr.');
fm.error(error || 'Can not launch Pixlr.');
},
launch = function() {
errtm = setTimeout(error, 10000);
Expand All @@ -146,6 +146,11 @@
})
.on('load', function() {
errtm && clearTimeout(errtm);
setTimeout(function() {
if (container.is(':hidden')) {
error('Please disable your ad blocker.');
}
}, 1000);
})
.on('error', error)
.appendTo(elfNode.hasClass('elfinder-fullscreen')? elfNode : 'body');
Expand Down

0 comments on commit 77579d0

Please sign in to comment.