projects
/
qcg-portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551b5fe
)
handle error in directory creation
author
Maciej Tronowski
<mtro@man.poznan.pl>
Fri, 10 Apr 2015 10:59:59 +0000
(12:59 +0200)
committer
Maciej Tronowski
<mtro@man.poznan.pl>
Fri, 10 Apr 2015 10:59:59 +0000
(12:59 +0200)
qcg/templates/qcg/gridftp.html
patch
|
blob
|
history
diff --git
a/qcg/templates/qcg/gridftp.html
b/qcg/templates/qcg/gridftp.html
index
0477aa8
..
d830b29
100644
(file)
--- a/
qcg/templates/qcg/gridftp.html
+++ b/
qcg/templates/qcg/gridftp.html
@@
-100,7
+100,10
@@
$.post($this.attr('action'), $this.serialize(), function(response) {
status('Katalog utworzono pomyślnie');
filex.reloadFiles();
- }, 'json')
+ }, 'json').fail(function(xhr) {
+ status('Wystąpił błąd: ' + xhr.responseJSON.msg);
+ filex.idle();
+ });
});
})
</script>