Questions on the SB1.

Hi,

I developed a simple demo on the SB1. And I have one question:

- Why the option menu button is not visible, but appears only after I read the barcode?

 

Below the my code:

 

asl.options([

                              {

                              'title' : 'Ricarica',

                              'callback' : function(){location.reload(true);}

                              },

                              {

                              'title' : 'Pulisci',

                              'callback' : function(){

                                        document.getElementById('codice').value = "";

                                        document.getElementById('quantita').value = "";

                                        /*document.getElementById('codice').focus();*/

                                             }

  }

                    ]);