summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-07 21:34:57 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-07 21:34:57 +0200
commit73046a201d6699f1959cb959328836a6ba9d40de (patch)
tree7fe1a400a394fb59851a31dd9a42a6305d121b6f
parent9b7ccb31dabf404457cbf625ef0dbc3462e06487 (diff)
downloadbackoffice-73046a201d6699f1959cb959328836a6ba9d40de.tar.gz
backoffice-73046a201d6699f1959cb959328836a6ba9d40de.tar.bz2
backoffice-73046a201d6699f1959cb959328836a6ba9d40de.zip
Add switch case 2503.
-rw-r--r--js/backoffice.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/backoffice.js b/js/backoffice.js
index 4f11d54..7563580 100644
--- a/js/backoffice.js
+++ b/js/backoffice.js
@@ -111,6 +111,8 @@ function error_map(code){
the exchange";
case "2400":
return "Exchange timed out..";
+ case "2503":
+ return "Proposal not found.";
default:
return "Error code not given.";
@@ -588,7 +590,7 @@ function get_history(scroll, cb){
return;
}
if (0 == history.length){
- show_warning("No records found!");
+ show_warning("No more records..");
return;
}
if(0 < history.length){