Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
90fb13d3
Commit
90fb13d3
authored
May 20, 2014
by
csillag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore parameter passing on successful auth actions. Fixes #1210.
parent
ebf06cae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
controllers.coffee
h/js/controllers.coffee
+2
-2
No files found.
h/js/controllers.coffee
View file @
90fb13d3
...
...
@@ -720,7 +720,7 @@ class Auth
for
own
_
,
ctrl
of
$scope
when
typeof
ctrl
?
.
$setPristine
is
'function'
ctrl
.
$setPristine
()
_success
=
->
_success
=
(
form
)
->
_reset
()
$scope
.
$emit
'success'
,
form
.
$name
...
...
@@ -738,7 +738,7 @@ class Auth
$scope
.
submit
=
(
form
)
->
angular
.
extend
authentication
,
$scope
.
model
return
unless
form
.
$valid
authentication
[
"$
#{
form
.
$name
}
"
]
_success
,
_error
authentication
[
"$
#{
form
.
$name
}
"
]
(
->
_success
form
)
,
_error
class
Editor
...
...
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