Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
6897 Vistas

if i click the my website button then  i'll show popup box for that plz tell me the frantend code 

<?xml version="1.0" encoding="utf-8"?>

<openerp> 

    <data>         

    <template id="bid_inherit" inherit_id="website_sale.product">             

        <data inherit_id="website_sale.product">                 

        <xpath expr="//div[@class='js_product']/a" position="after">                 

        <div style="">                     

                <a id="bid" class="btn btn-primary btn-lg mt8 js_check_product a-submit" href="#">Bid</a>                 

        </div>                 

        </xpath>                               

    </data>       

</template> 

</data>

</openerp>

Avatar
Descartar
Mejor respuesta

Include a javascript file to do that task using a dialog

Avatar
Descartar
Autor

I am using the code below but it still doesn't popup the wizard on my screen. Am I doing something wrong?

$(function () {

$("#dialog").dialog({

modal: true,

autoOpen: false,

title: "jQuery Dialog",

width: 300,

height: 150

});

$("#bid").click(function () {

$('#dialog').dialog('open');

});

});