Subversion Repositories wpShopGermany4

Rev

Rev 8264 | Rev 8368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8264 Rev 8300
Line 486... Line 486...
486
							el_doaction.style.display = 'inline-block';
486
							el_doaction.style.display = 'inline-block';
487
							
487
							
488
                        }
488
                        }
489
						
489
						
490
                    });
490
                    });
491
                    
491
 
-
 
492
                    let buttonClicked = false;
-
 
493
                    document.getElementById('doaction').addEventListener('click', (event) => {
-
 
494
 
-
 
495
                        if (buttonClicked) {
-
 
496
 
-
 
497
                            event.preventDefault();
-
 
498
                            return false;
-
 
499
 
-
 
500
                        }
-
 
501
 
-
 
502
                        // Button deaktivieren und ausgrauen
-
 
503
                        document.getElementById('doaction').style.opacity = '0.5';
-
 
504
                        document.getElementById('doaction').style.pointerEvents = 'none';
-
 
505
 
-
 
506
                        // Button nach 4 Sekunden wieder aktivieren
-
 
507
                        setTimeout(() => {
-
 
508
 
-
 
509
                            document.getElementById('doaction').style.opacity = '1';
-
 
510
                            document.getElementById('doaction').style.pointerEvents = 'auto';
-
 
511
                            buttonClicked = false;
-
 
512
 
-
 
513
                        }, 4000);
-
 
514
 
-
 
515
                        buttonClicked = true;
-
 
516
                        return true;
-
 
517
 
-
 
518
                    });
-
 
519
 
492
                </script>
520
                </script>
493
 
521
 
494
                <div class="multiRechnung_tab" id="multiRechnung_inform" style="padding: 15px 0 15px 0; display:none;">
522
                <div class="multiRechnung_tab" id="multiRechnung_inform" style="padding: 15px 0 15px 0; display:none;">
495
 
523
 
496
                    <div style="width: 100%; padding: 1rem; display: grid; row-gap: 0.5rem; column-gap: 0.5rem; grid-template-columns: 25px 1fr 150px; align-items: center; grid-auto-rows: 30px; padding-bottom: 0.5rem;" >
524
                    <div style="width: 100%; padding: 1rem; display: grid; row-gap: 0.5rem; column-gap: 0.5rem; grid-template-columns: 25px 1fr 150px; align-items: center; grid-auto-rows: 30px; padding-bottom: 0.5rem;" >
Line 558... Line 586...
558
                    		el_multiRechnung_inform.style.display = 'none';
586
                    		el_multiRechnung_inform.style.display = 'none';
559
                    		
587
                    		
560
                        }
588
                        }
561
                    	
589
                    	
562
                    });
590
                    });
-
 
591
 
-
 
592
                    // let buttonClicked = false;
-
 
593
 
-
 
594
                    // document.getElementById('wpsg_mod_rechnungen_button_submit').addEventListener('click', (event) => {
-
 
595
 
-
 
596
                    //     if (buttonClicked) {
-
 
597
 
-
 
598
                    //         event.preventDefault();
-
 
599
                    //         return false;
-
 
600
 
-
 
601
                    //     }
-
 
602
 
-
 
603
                    //     // Button deaktivieren und ausgrauen
-
 
604
                    //     document.getElementById('wpsg_mod_rechnungen_button_submit').style.opacity = '0.5';
-
 
605
                    //     document.getElementById('wpsg_mod_rechnungen_button_submit').style.pointerEvents = 'none';
-
 
606
 
-
 
607
                    //     // Button nach 4 Sekunden wieder aktivieren
-
 
608
                    //     setTimeout(() => {
-
 
609
 
-
 
610
                    //         document.getElementById('wpsg_mod_rechnungen_button_submit').style.opacity = '1';
-
 
611
                    //         document.getElementById('wpsg_mod_rechnungen_button_submit').style.pointerEvents = 'auto';
-
 
612
                    //         buttonClicked = false;
-
 
613
 
-
 
614
                    //     }, 4000);
-
 
615
 
-
 
616
                    //     buttonClicked = true;
-
 
617
                    //     return true;
-
 
618
 
-
 
619
                    // });
563
                     
620
                     
564
                </script>
621
                </script>
565
                
622
                
566
            </div>
623
            </div>
567
 
624