Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0f57245f
Commit
0f57245f
authored
Oct 07, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use native dom in dispatcher field error init.
parent
3c536bcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+4
-3
No files found.
app/assets/javascripts/dispatcher.js
View file @
0f57245f
...
@@ -296,9 +296,10 @@
...
@@ -296,9 +296,10 @@
};
};
Dispatcher
.
prototype
.
initFieldErrors
=
function
()
{
Dispatcher
.
prototype
.
initFieldErrors
=
function
()
{
$
(
'
form.show-gl-field-errors
'
).
each
(
function
(
i
,
form
)
{
return
document
.
querySelectorAll
(
'
.show-gl-field-errors
'
)
new
gl
.
GlFieldErrors
(
form
);
.
forEach
(
function
(
form
)
{
});
new
gl
.
GlFieldErrors
(
form
);
});
};
};
return
Dispatcher
;
return
Dispatcher
;
...
...
Write
Preview
Markdown
is supported
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