|
|
@@ -232,7 +232,7 @@ function uploadFileAsStream(file) {
|
|
|
jQuery.notify("Wystąpił błąd: " + res.text, 'error')
|
|
|
} else if (res.body && res.body.msg && res.body.type) {
|
|
|
var notifyType = ('danger' == res.body.type) ? 'error' : res.body.type;
|
|
|
- jQuery.notify(res.body.msg, notifyType)
|
|
|
+ jQuery.notify("Wgrano plik:" + JSON.stringify(res.body), notifyType)
|
|
|
} else if (res.body && res.body.id && res.body.id > 0) {
|
|
|
jQuery.notify("Wgrano plik:" + JSON.stringify(res.body), 'success')
|
|
|
} else {
|