Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9c7a5da6
authored
Dec 18, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
edge not valid browser and
#364
parent
77bcd02f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
sails/src/assets/scripts/check_browser.js
sails/src/assets/scripts/modules/student/views/setup.html
sails/src/assets/scripts/check_browser.js
View file @
9c7a5da6
...
...
@@ -25,10 +25,10 @@ if(clientBrowser[0] == "Chrome" && parseInt(clientBrowser[1]) >= 45 )
validBrowser
=
true
;
if
(
clientBrowser
[
0
]
==
"Opera"
&&
parseInt
(
clientBrowser
[
1
])
>=
35
)
validBrowser
=
true
;
if
(
clientBrowser
[
0
]
==
"Edge"
)
validBrowser
=
true
;
if
(
clientBrowser
[
0
]
==
"Safari"
&&
parseInt
(
clientBrowser
[
1
])
>=
10
)
validBrowser
=
true
;
/*if(clientBrowser[0] == "Edge" )
validBrowser = true;*/
// Redirect to view
if
(
!
validBrowser
)
window
.
location
=
"browserNotCompatible.html"
;
sails/src/assets/scripts/modules/student/views/setup.html
View file @
9c7a5da6
...
...
@@ -150,7 +150,6 @@
<div
class=
"form-group"
>
<label
translate
>
gender
</label>
<select
class=
"form-control"
name=
"student_gender"
id=
"student_gender"
ng-model=
"formUser.gender"
required
>
<option
value=
" "
disabled
></option>
<option
value=
"F"
translate
>
woman
</option>
<option
value=
"M"
translate
>
man
</option>
</select>
...
...
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