Commit ce489e1a authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update LoaderException.js to improve error reporting.

parent 58a090ae
......@@ -2,6 +2,7 @@
HEAD
- Require python 3.7
- Minor improvement reporting errors.
0.9.9.1 (Oct 2019)
- Minor release
......
......@@ -146,14 +146,14 @@ Ext.define("Dbui.local.fr.panel.GridWithFilter", {
Ext.define("Dbui.local.fr.panel.plugin.LoaderException", {
override: "Dbui.panel.plugin.LoaderException",
textError: "Erreur ..."
textError: "Oups quelchose ne va pas..."
});
Ext.define("Dbui.local.fr.panel.WithUrlSelector", {
override: "Dbui.panel.WithUrlSelector",
textChrome: "La taille du fichier est trôp grande pour Chrome.<br> Une solution est d'utilisée FireFox!",
textLoad : "Chargement en cours...",
textProgressBar : "Fichier en préparation. Soyez patient ...",
textLoad: "Chargement en cours...",
textProgressBar: "Fichier en préparation. Soyez patient ...",
textWarning: "Attention"
});
......
......@@ -10,7 +10,7 @@ Ext.define("Dbui.panel.plugin.LoaderException", {
alias: "plugin.pPanelLoaderException",
// Private attribute for internationalization
textError: "Error ...",
textError: "Oops something went wrong...",
/**
* Initialize the plugin
......@@ -51,7 +51,7 @@ Ext.define("Dbui.panel.plugin.LoaderException", {
if (response.statusText) {
Ext.Msg.show({
title: me.textError,
msg: response.statusText,
msg: response.responseText,
buttons: Ext.Msg.OK,
icon: Ext.Msg.WARNING
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment