Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
d0a573fa
Commit
d0a573fa
authored
Jun 16, 2020
by
Gabriel-31415
Browse files
ajuste em submeterTrabalho
parent
e184bc29
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/submeterTrabalho.blade.php
View file @
d0a573fa
...
@@ -612,7 +612,7 @@
...
@@ -612,7 +612,7 @@
function
areas
()
{
function
areas
()
{
var
grandeArea
=
$
(
'#grandeArea'
)
.
val
();
var
grandeArea
=
$
(
'#grandeArea'
)
.
val
();
$
.
getJSON
(
"
http://submeta.test
/naturezas/areas/"
+
grandeArea
,
$
.
getJSON
(
"
{{ config('app.url') }}
/naturezas/areas/"
+
grandeArea
,
function
(
dados
){
function
(
dados
){
if
(
dados
.
length
>
0
){
if
(
dados
.
length
>
0
){
var
option
=
'<option>-- Área --</option>'
;
var
option
=
'<option>-- Área --</option>'
;
...
@@ -628,7 +628,7 @@
...
@@ -628,7 +628,7 @@
function
subareas
()
{
function
subareas
()
{
var
area
=
$
(
'#area'
)
.
val
();
var
area
=
$
(
'#area'
)
.
val
();
$
.
getJSON
(
"
http://submeta.test
/naturezas/subarea/"
+
area
,
$
.
getJSON
(
"
{{ config('app.url') }}
/naturezas/subarea/"
+
area
,
function
(
dados
){
function
(
dados
){
if
(
dados
.
length
>
0
){
if
(
dados
.
length
>
0
){
var
option
=
'<option>-- Sub Área --</option>'
;
var
option
=
'<option>-- Sub Área --</option>'
;
...
...
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