Skip to content
Snippets Groups Projects
Commit 6b6a1b44 authored by falcon's avatar falcon
Browse files

Make sure params are preserved when there is only one option for a lib

parent def28e56
No related branches found
Tags 6.x-1.0-beta5
No related merge requests found
......@@ -70,7 +70,7 @@ ns.Library.prototype.appendTo = function ($wrapper) {
if (data.length === 1) {
that.$select.hide();
$field.children('.h5peditor-label').hide();
that.loadLibrary(that.$select.children(':last').val());
that.loadLibrary(that.$select.children(':last').val(), true);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment