File tree Expand file tree Collapse file tree 7 files changed +17
-5
lines changed Expand file tree Collapse file tree 7 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ export class proxyServer {
466466 return saveLog ( `on changeDocker [${ data . containerUUID } ] Add it` )
467467 }
468468 this . multipleGateway [ index ] = data
469+ return this . gateway = new gateWay ( this . multipleGateway )
469470 }
470471
471472}
Original file line number Diff line number Diff line change @@ -3522,6 +3522,7 @@ var view_layout;
35223522 this . cancel_Amount = ko . observable ( 0 ) ;
35233523 this . promoButton = ko . observable ( false ) ;
35243524 this . promoInput = ko . observable ( '' ) ;
3525+ this . promoInputError = ko . observable ( false ) ;
35253526 this . getMonthData = ko . computed ( ( ) => {
35263527 if ( ! this . QTTransferData ( ) ) {
35273528 return { data : null , ch : null } ;
@@ -4489,6 +4490,7 @@ var view_layout;
44894490 this . postcode_Error ( false ) ;
44904491 this . cardPayment_Error ( false ) ;
44914492 this . paymentDataFormat_Error ( false ) ;
4493+ this . promoInputError ( false ) ;
44924494 return this . paymentCardFailed ( false ) ;
44934495 }
44944496 clearAllPaymentErrorTimeUP ( ) {
@@ -4739,6 +4741,9 @@ var view_layout;
47394741 } ) ;
47404742 }
47414743 promoApplication ( ) {
4744+ if ( this . promoInput ( ) . length < 19 ) {
4745+ return this . promoInputError ( true ) ;
4746+ }
47424747 this . clearPaymentError ( ) ;
47434748 this . promoButton ( false ) ;
47444749 this . showWaitPaymentFinished ( ) ;
Original file line number Diff line number Diff line change @@ -4803,7 +4803,7 @@ module view_layout {
48034803 this . postcode_Error ( false )
48044804 this . cardPayment_Error ( false )
48054805 this . paymentDataFormat_Error ( false )
4806-
4806+ this . promoInputError ( false )
48074807 return this . paymentCardFailed ( false )
48084808 }
48094809
@@ -5195,7 +5195,11 @@ module view_layout {
51955195
51965196 }
51975197
5198+ public promoInputError = ko . observable ( false )
51985199 public promoApplication ( ) {
5200+ if ( this . promoInput ( ) . length < 19 ) {
5201+ return this . promoInputError ( true )
5202+ }
51995203 this . clearPaymentError ( )
52005204 this . promoButton ( false )
52015205 this . showWaitPaymentFinished ( )
Original file line number Diff line number Diff line change @@ -1751,6 +1751,7 @@ class ImapConnect extends Imap.imapPeer {
17511751 if ( ! this . localServer . proxyServer || ! this . localServer . connectCommand ) {
17521752 return saveLog ( `got Command from server "changeDocker" localServer.proxyServer or localServer.connectCommand is null!!` ) ;
17531753 }
1754+ saveLog ( `on changeDocker container = [${ container } ]` ) ;
17541755 return this . localServer . proxyServer . sendCommand ( 'changeDocker' , container ) ;
17551756 }
17561757 default : {
Original file line number Diff line number Diff line change @@ -2141,6 +2141,7 @@ class ImapConnect extends Imap.imapPeer {
21412141 return saveLog ( `got Command from server "changeDocker" localServer.proxyServer or localServer.connectCommand is null!!` )
21422142
21432143 }
2144+ saveLog ( `on changeDocker container = [${ container } ]` )
21442145 return this . localServer . proxyServer . sendCommand ( 'changeDocker' , container )
21452146
21462147 }
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ block jumbotron1
322322 //- UserPerment
323323 #UserPerment .content ( data-bind = "visible: UserPerment()" style = "margin-top: -3em;" )
324324 #UserPermentShape
325- .rePosition ( data-bind = "visible: !UserPermentShapeDetail(), click: () => { UserPerment( false ); showCancelSuccess ( false ); return showSuccessPayment( false ); }" style ="position: relative;z-index: 1000;" )
325+ .rePosition ( data-bind = "visible: !UserPermentShapeDetail(), click: () => { UserPerment( false ); clearPaymentError (); showCancelSuccess ( false ); return showSuccessPayment( false ); }" style ="position: relative;z-index: 1000;" )
326326 i.icon.link.remove.circle.big.grey ( style ="position: absolute;margin-left: -0.5em;margin-top: -0.5em;" )
327327 .ui.segments
328328 .ui.raised.segment ( data-bind = "visible: !UserPermentShapeDetail()" )
@@ -362,7 +362,7 @@ block jumbotron1
362362 .row.ui.divider ( data-bind = " visible: promoButton()" style ="padding-bottom: 2em;" )
363363 form.ui.form
364364 .fields
365- .field ( style = "width: 17em;" )
365+ .field ( data-bind = "css:{ error: promoInputError() }" style = "width: 17em;" )
366366 input.promoCodeInput ( data-bind ="value: promoInput" placeholder ="XXXX-XXXX-XXXX-XXXX" type ="text" )
367367 .field
368368 .ui.buttons
Original file line number Diff line number Diff line change 11{
22 "name" : " qtgate" ,
3- "version" : " 1.2.6 " ,
3+ "version" : " 1.2.7 " ,
44 "license" : " MIT" ,
55 "description" : " QTGate desktop client" ,
66 "scripts" : {
2121 },
2222 "build" : {
2323 "squirrelWindows" : {
24- "remoteReleases" : " https://github.com/QTGate/atOPN/releases/download/0.1 .0/"
24+ "remoteReleases" : " https://github.com/QTGate/atOPN/releases/download/0.2 .0/"
2525 },
2626 "appId" : " com.qtgate.client" ,
2727 "win" : {
You can’t perform that action at this time.
0 commit comments