Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
edabaf8f
Commit
edabaf8f
authored
May 02, 2017
by
Côme Chilliet
Browse files
Fixes #5506 Avoiding PHP errors when focusedField is not set
parent
ddc63f3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ihtml/themes/breezy/simpleplugin.tpl
View file @
edabaf8f
...
...
@@ -12,9 +12,11 @@
<input
name=
"
{
$hiddenPostedInput
}
"
value=
"1"
type=
"hidden"
/>
{/
if
}
<!-- Place cursor -->
<script
type=
"text/javascript"
>
<!--
// First input field on page
focus_field
(
'
{
$focusedField
}
'
);
-->
</script>
{
if
isset
(
$focusedField
)
}
<!-- Place cursor -->
<script
type=
"text/javascript"
>
<!--
// First input field on page
focus_field
(
'
{
$focusedField
}
'
);
-->
</script>
{/
if
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment