Skip to content

Commit

Permalink
[options:netmount] correction of 607c2a5
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Mar 31, 2016
1 parent 93da393 commit 8394a1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/elFinder.options.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ elFinder.prototype._options = {
}));
$(f.host[1]).val('googledrive');
if (data.folders) {
f.path.after(
f.path.next().remove().end().after(
$('<div/>').append(
$('<select class="ui-corner-all" style="max-width:200px;">').append(
$($.map(data.folders, function(n,i){return '<option value="'+i+'">'+fm.escape(n)+'</option>'}).join(''))
Expand All @@ -419,7 +419,6 @@ elFinder.prototype._options = {
}
},
fail: function(fm, err){
this.inputs.path.val('root').next().remove();
this.protocol.trigger('change', 'reset');
}
}
Expand Down

0 comments on commit 8394a1b

Please sign in to comment.