Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
synnefo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
itminedu
synnefo
Commits
f32d8924
Commit
f32d8924
authored
Jun 10, 2016
by
Olga Brani
Committed by
Giorgos Korfiatis
Jun 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin-ui: Rename class used for e-mail validation
parent
8e071b2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
snf-admin-app/synnefo_admin/admin/static/js/common.js
snf-admin-app/synnefo_admin/admin/static/js/common.js
+4
-4
No files found.
snf-admin-app/synnefo_admin/admin/static/js/common.js
View file @
f32d8924
...
...
@@ -176,7 +176,7 @@ snf = {
},
validateModifyEmailForm
:
function
(
modal
)
{
var
$modal
=
$
(
modal
);
$modal
.
find
(
'
.
new
-email
'
).
each
(
function
(
i
,
el
){
$modal
.
find
(
'
.
js
-email
'
).
each
(
function
(
i
,
el
){
snf
.
modals
.
toggleEmailErrorSign
(
$
(
el
));
});
return
$modal
.
find
(
'
.error-sign:visible
'
).
length
>
0
?
false
:
true
;
...
...
@@ -205,7 +205,7 @@ snf = {
<dl class="dl-horizontal info-list with-inputs">
\
<dt>New e-mail:</dt>
\
<dd>
\
<input placeholder="new e-mail" class="new-email" name=<%= inputName %>>
\
<input placeholder="new e-mail" class="new-email
js-email
" name=<%= inputName %>>
\
<a data-error="invalid-email" data-toggle="popover" data-trigger="hover" class="error-sign snf-exclamation-sign" href="#" rel="tooltip" data-content="Invalid e‑mail address."></a>
\
</dd>
\
</dl>
'
,
...
...
@@ -286,7 +286,7 @@ snf = {
<div class="wrap"><%= email %></div>
\
</td>
\
<td class="wrap td-with-input">
\
<input placeholder="new e-mail" class="new-email" name=<%= inputName %>>
\
<input placeholder="new e-mail" class="new-email
js-email
" name=<%= inputName %>>
\
<a data-error="invalid-email" data-toggle="popover" data-trigger="hover" class="error-sign snf-exclamation-sign" href="#" rel="tooltip" data-content="Invalid e‑mail address."></a>
\
<a class="remove" title="Remove item from selection">X</a></td></tr>
'
,
...
...
@@ -462,7 +462,7 @@ $(document).ready(function(){
});
});
$
(
'
.modal
'
).
on
(
'
focusout
'
,
'
.
new
-email
'
,
function
(
e
){
$
(
'
.modal
'
).
on
(
'
focusout
'
,
'
.
js
-email
'
,
function
(
e
){
var
el
=
$
(
this
);
snf
.
modals
.
toggleEmailErrorSign
(
el
);
});
...
...
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