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
f9daed10
authored
Apr 25, 2017
by
Fernando Martínez Santiago
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
issue
#176
closed
parent
fff79ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/net/PictoUploader.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/net/PictoUploader.java
View file @
f9daed10
...
...
@@ -164,6 +164,7 @@ public class PictoUploader {
Log
.
e
(
LOG_TAG
,
" Error: "
+
e
.
getLocalizedMessage
());
}
Log
.
i
(
LOG_TAG
,
"Uploading attributes "
);
PictoUploader
.
this
.
picto
.
set_local_status
(
false
);
PCBcontext
.
getRestapiWrapper
().
ask
(
PCBcontext
.
getPcbdb
().
getCurrentUser
().
get_restapi_operation_stu
()
+
"/picto/"
+
id_picto
,
params
,
"post"
,
true
,
new
RestapiWrapper
.
iRestapiListener
()
{
@Override
public
void
preExecute
()
{
...
...
@@ -201,6 +202,7 @@ public class PictoUploader {
@Override
public
void
error
(
RestapiWrapper
.
HTTPException
e
)
{
Log
.
e
(
LOG_TAG
,
" Error uploading attributes: "
+
e
.
getLocalizedMessage
());
PictoUploader
.
this
.
picto
.
set_local_status
(
true
);
listener
.
success
(
false
,
e
.
getLocalizedMessage
());
}
...
...
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