Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
h5p-3425407
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
h5p-3425407
Commits
6b6a1b44
Commit
6b6a1b44
authored
11 years ago
by
falcon
Browse files
Options
Downloads
Patches
Plain Diff
Make sure params are preserved when there is only one option for a lib
parent
def28e56
No related branches found
Branches containing commit
Tags
6.x-1.0-beta5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/h5peditor/h5peditor/scripts/h5peditor-library.js
+1
-1
1 addition, 1 deletion
modules/h5peditor/h5peditor/scripts/h5peditor-library.js
with
1 addition
and
1 deletion
modules/h5peditor/h5peditor/scripts/h5peditor-library.js
+
1
−
1
View file @
6b6a1b44
...
...
@@ -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
);
}
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment