File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ function PrubehPojisteniDruhB2B(CisloPojistence, onSuccess) {
7070 } ;
7171 onSuccess ( results ) ;
7272 } ) ;
73+ } else {
74+ return ;
7375 }
7476 } )
7577 . catch ( function ( error ) {
@@ -107,7 +109,7 @@ function stavSmlouvyICPICPPB2B(ICP_ICPP, onSuccess) {
107109 if ( response . status == 200 ) {
108110 response . text ( ) . then ( function ( text ) {
109111 var stavVyrizeniPozadavku = getSoapTagValue ( text , "stavVyrizeniPozadavku" ) ;
110-
112+
111113 if ( stavVyrizeniPozadavku ) {
112114 var results = {
113115 "odbornost" : getSoapTagValue ( text , "odbornost" ) ,
@@ -129,10 +131,12 @@ function stavSmlouvyICPICPPB2B(ICP_ICPP, onSuccess) {
129131 onSuccess ( results ) ;
130132 }
131133 } ) ;
134+ } else {
135+ return ;
132136 }
133- } )
134- . catch ( function ( error ) {
135- console . log ( error ) ;
137+ } )
138+ . catch ( function ( error ) {
139+ console . log ( error ) ;
136140 } ) ;
137141 } ) ;
138142}
You can’t perform that action at this time.
0 commit comments