From 4281bb2d4962b6500fd85b3706789cd5f49f37d0 Mon Sep 17 00:00:00 2001 From: Hunter Lester Date: Tue, 20 Dec 2016 21:36:47 -0800 Subject: [PATCH] moves network toggle buttons, popup on tx errors (#16) --- index.html | 51 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index b9f81c1..94baac2 100755 --- a/index.html +++ b/index.html @@ -162,9 +162,13 @@ if(err == 404) { $('#feeTxid').addClass('validationError'); $('#feeTxid').val('Transaction ID not found'); + $('#error_modal').modal('show'); + $('#error_text').text('Proposal transaction ID not found'); } else if (err == 400) { $('#feeTxid').addClass('validationError'); $('#feeTxid').val('Please paste a valid transaction ID'); + $('#error_modal').modal('show'); + $('#error_text').text('Please paste a valid transaction ID'); } } @@ -202,23 +206,34 @@ + +