Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443915
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
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
drupal-3443915
Commits
fd6594be
Commit
fd6594be
authored
11 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1955288
by lilster66 | nod_: JSHint editor.
parent
75f3ef06
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/editor/js/editor.js
+1
-1
1 addition, 1 deletion
core/modules/editor/js/editor.js
with
1 addition
and
1 deletion
core/modules/editor/js/editor.js
+
1
−
1
View file @
fd6594be
...
...
@@ -69,7 +69,7 @@ Drupal.behaviors.editor = {
var
editors
;
// The 'serialize' trigger indicates that we should simply update the
// underlying element with the new text, without destroying the editor.
if
(
trigger
==
'
serialize
'
)
{
if
(
trigger
==
=
'
serialize
'
)
{
// Removing the editor-processed class guarantees that the editor will
// be reattached. Only do this if we're planning to destroy the editor.
editors
=
$
(
context
).
find
(
'
.editor-processed
'
);
...
...
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