Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6382 มุมมอง

Dear All,

I have developed new popup window that will come while selecting payment method , now i want to given number input in the input column how can i give number input in popup window. I used  this.$('.cell').text(amount); is not working.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

keyboard are block at payment time in POS . So You need to override both

this.keyboard_handler = function(event){
var key = '';
            if (event.type === "keypress") {
                if($(".your popup div class").not('.oe_hidden').length){
                    return;
                }

              rest of code......
};

and 

this.keyboard_keydown_handler = function(event){
            if($(".your popup div class").not('.oe_hidden').length){
                return;
            }
     rest of code......
};

Thanks


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 16
5786
0
มิ.ย. 16
4327
0
พ.ย. 19
86
0
เม.ย. 24
1933
1
ก.ย. 23
2036