Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
824341e8
Commit
824341e8
authored
Apr 07, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Pubmed query with changed name.
parent
3f3ac942
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
project.html
templates/project.html
+3
-3
No files found.
templates/project.html
View file @
824341e8
...
...
@@ -312,7 +312,7 @@
var
theType
=
$
(
"#id_type option:selected"
).
html
();
if
(
theType
==
"
pubmed
"
)
{
if
(
theType
==
"
Pubmed (xml format)
"
)
{
$
.
ajax
({
// contentType: "application/json",
url
:
window
.
location
.
origin
+
"/tests/pubmedquery"
,
...
...
@@ -416,7 +416,7 @@
$
(
"#id_name"
).
on
(
'input'
,
function
(
e
){
console
.
log
(
$
(
this
).
val
())
if
(
theType
==
"
pubmed
"
)
testPUBMED
(
$
(
this
).
val
()
)
if
(
theType
==
"
Pubmed (xml format)
"
)
testPUBMED
(
$
(
this
).
val
()
)
});
}
}
...
...
@@ -424,7 +424,7 @@
//CSS events for changing the Select element
function
CustomForSelect
(
selected
)
{
// show Radio-Inputs and trigger FileOrNotFile>@upload-file events
if
(
selected
==
"
pubmed
"
||
selected
==
"istext"
)
{
if
(
selected
==
"
Pubmed (xml format)
"
||
selected
==
"istext"
)
{
// if(selected=="pubmed") {
console
.
log
(
"show the button for: "
+
selected
)
$
(
"#pubmedcrawl"
).
css
(
"visibility"
,
"visible"
);
...
...
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