Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
docker
osticket
Commits
dee7c223
Commit
dee7c223
authored
11 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
Allow autocomplete on email address
parent
7bc88c39
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/class.dynamic_forms.php
+0
-16
0 additions, 16 deletions
include/class.dynamic_forms.php
include/staff/ticket-open.inc.php
+2
-2
2 additions, 2 deletions
include/staff/ticket-open.inc.php
with
2 additions
and
18 deletions
include/class.dynamic_forms.php
+
0
−
16
View file @
dee7c223
...
@@ -148,22 +148,6 @@ class UserForm extends DynamicForm {
...
@@ -148,22 +148,6 @@ class UserForm extends DynamicForm {
return
$os
->
filter
(
array
(
'type'
=>
'U'
));
return
$os
->
filter
(
array
(
'type'
=>
'U'
));
}
}
function
getFields
(
$cache
=
true
)
{
$fields
=
parent
::
getFields
(
$cache
);
foreach
(
$fields
as
$f
)
{
if
(
$f
->
get
(
'name'
)
==
'email'
)
{
$f
->
getConfiguration
();
$f
->
_config
[
'classes'
]
=
'auto email typeahead'
;
$f
->
_config
[
'autocomplete'
]
=
false
;
}
elseif
(
$f
->
get
(
'name'
)
==
'name'
)
{
$f
->
getConfiguration
();
$f
->
_config
[
'classes'
]
=
'auto name'
;
}
}
return
$fields
;
}
static
function
getUserForm
()
{
static
function
getUserForm
()
{
if
(
!
isset
(
static
::
$form
))
{
if
(
!
isset
(
static
::
$form
))
{
$o
=
static
::
objects
();
$o
=
static
::
objects
();
...
...
This diff is collapsed.
Click to expand it.
include/staff/ticket-open.inc.php
+
2
−
2
View file @
dee7c223
...
@@ -66,7 +66,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
...
@@ -66,7 +66,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
autocomplete=
"off"
autocorrect=
"off"
value=
"
<?php
echo
$info
[
'email'
];
?>
"
/>
</span>
autocomplete=
"off"
autocorrect=
"off"
value=
"
<?php
echo
$info
[
'email'
];
?>
"
/>
</span>
<font
class=
"error"
>
*
<?php
echo
$errors
[
'email'
];
?>
</font>
<font
class=
"error"
>
*
<?php
echo
$errors
[
'email'
];
?>
</font>
</td>
</td>
</t
d
>
</t
r
>
<tr>
<tr>
<td
width=
"160"
class=
"required"
>
Full Name:
</td>
<td
width=
"160"
class=
"required"
>
Full Name:
</td>
<td>
<td>
...
@@ -74,7 +74,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
...
@@ -74,7 +74,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<input
type=
"text"
size=
45
name=
"name"
id=
"user-name"
value=
"
<?php
echo
$info
[
'name'
];
?>
"
/>
</span>
<input
type=
"text"
size=
45
name=
"name"
id=
"user-name"
value=
"
<?php
echo
$info
[
'name'
];
?>
"
/>
</span>
<font
class=
"error"
>
*
<?php
echo
$errors
[
'name'
];
?>
</font>
<font
class=
"error"
>
*
<?php
echo
$errors
[
'name'
];
?>
</font>
</td>
</td>
</t
d
>
</t
r
>
<?php
<?php
}
?>
}
?>
...
...
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