From b8db0b5caabd32911db9241bd9fdbdc5e52e473f Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Fri, 3 Jul 2020 07:50:22 -0500 Subject: [PATCH] bug fix with lifecycle --- src/api/templates/card.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/api/templates/card.html b/src/api/templates/card.html index 507f64e..2eb4148 100644 --- a/src/api/templates/card.html +++ b/src/api/templates/card.html @@ -180,7 +180,7 @@ } } checkout.dialog = function(title,message,type){ - ICONS = {'WARN':'fas fa-exclamation-triangle','CHECK':'fas fa-check fa-2x','PROGRESS':'fas fa-cog fa-spin'} + ICONS = {'WARN':'fas fa-exclamation-triangle','CHECK':'fas fa-check fa-3x','PROGRESS':'fas fa-cog fa-spin'} var uri = ([sessionStorage.context,'/ui/dialog']).join('') var info = {title:title,message:message,icon:ICONS[type],type:type} var httpclient = HttpClient.instance() @@ -242,6 +242,13 @@ if(x.status == 200){ TYPE='CHECK' TITLE = '' + jx.utils.patterns.visitor($('input'),function(_input){ + $(_input).val('') + $(_input).attr('disabled',true) + + }) + sessionStorage.customer = JSON.stringify({info:{}}) + }else{ TITLE='.::' TYPE='WARN' @@ -313,7 +320,7 @@ -
+