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
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,711
Issues
1,711
List
Boards
Labels
Service Desk
Milestones
Merge Requests
86
Merge Requests
86
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
01b4a0a3
Commit
01b4a0a3
authored
Apr 03, 2014
by
Marc Duez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
database.js :
- debug file upload - database error display first (better z-index)
parent
4599cd5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
browser/css/vidjil.less
browser/css/vidjil.less
+1
-1
browser/index.html
browser/index.html
+2
-0
browser/js/database.js
browser/js/database.js
+8
-2
No files found.
browser/css/vidjil.less
View file @
01b4a0a3
...
...
@@ -540,7 +540,7 @@ max-height: calc(~"100%" - @margin)
#popup-container{
z-index:
3
;
z-index:
5
;
border:solid;
position: fixed;
top: 250px;
...
...
browser/index.html
View file @
01b4a0a3
...
...
@@ -168,6 +168,8 @@
<a
class=
"buttonSelector"
onclick=
"db.call('patient_list');"
>
patient list
</a>
<a
class=
"buttonSelector"
onclick=
"db.call('standard_list');"
>
standard list
</a>
<a
class=
"buttonSelector"
onclick=
"db.call('config_list');"
>
config list
</a>
<div
id=
"upload_list"
></div>
</div>
</div>
...
...
browser/js/database.js
View file @
01b4a0a3
...
...
@@ -75,7 +75,9 @@ Database.prototype = {
//submit formulaire avec fichier
if
(
document
.
getElementById
(
'
upload_form
'
)
){
$
(
'
#upload_form
'
)
.
ajaxForm
({
.
on
(
'
submit
'
,
function
(
e
)
{
e
.
preventDefault
();
$
.
ajax
({
type
:
"
POST
"
,
cache
:
false
,
crossDomain
:
true
,
...
...
@@ -118,7 +120,8 @@ Database.prototype = {
success
:
function
(
result
)
{
var
res
=
jQuery
.
parseJSON
(
result
);
if
(
res
.
success
==
"
true
"
)
{
$
(
'
#upload_percent_
'
+
upload_n
)
.
html
(
"
upload success
"
);
}
else
{
popupMsg
(
res
.
error
);
}
...
...
@@ -131,8 +134,10 @@ Database.prototype = {
}
}
});
});
}
},
error
:
function
(
request
,
status
,
error
)
{
if
(
status
===
"
timeout
"
)
{
popupMsg
(
"
timeout
"
);
...
...
@@ -140,6 +145,7 @@ Database.prototype = {
popupMsg
(
request
.
responseText
);
}
}
});
},
...
...
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