Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6384 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 16
5786
0
thg 6 16
4327
0
thg 11 19
86
0
thg 4 24
1933
1
thg 9 23
2036