Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
bbfd1388
Commit
bbfd1388
authored
9 years ago
by
Ion Agorria
Browse files
Options
Downloads
Patches
Plain Diff
Missed another CKEDITOR ref
parent
238f9770
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/tpl/objectline_create.tpl.php
+2
-8
2 additions, 8 deletions
htdocs/core/tpl/objectline_create.tpl.php
with
2 additions
and
8 deletions
htdocs/core/tpl/objectline_create.tpl.php
+
2
−
8
View file @
bbfd1388
...
...
@@ -515,7 +515,7 @@ jQuery(document).ready(function() {
setforfree
();
if
(
jQuery
(
'
#select_type
'
).
val
()
>=
0
)
{
/* focus work on a standard textarea
but not if field was replaced with CKEDITOR
*/
/* focus work on a standard textarea */
jQuery
(
'
#dp_desc
'
).
focus
();
}
if
(
jQuery
(
'
#select_type
'
).
val
()
==
'
0
'
)
jQuery
(
'
#trlinefordates
'
).
hide
();
...
...
@@ -615,14 +615,8 @@ jQuery(document).ready(function() {
/* To set focus */
if
(
jQuery
(
'
#idprod
'
).
val
()
>
0
||
jQuery
(
'
#idprodfournprice
'
).
val
()
>
0
)
{
/* focus work on a standard textarea
but not if field was replaced with CKEDITOR
*/
/* focus work on a standard textarea */
jQuery
(
'
#dp_desc
'
).
focus
();
/* focus if CKEDITOR */
if
(
CKEDITOR
)
{
var
editor
=
CKEDITOR
.
instances
[
'
dp_desc
'
];
if
(
editor
)
{
editor
.
focus
();
}
}
}
});
...
...
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