Skip to Content
Menu
This question has been flagged
2052 Rodiniai

    start: function () {

            var self = this;

            var model_product = new instance.web.Model('abd.abc')

            this.display_record.bind(this);

            var display = this.display_record.bind(this);

            model_product.query()

                .all().done(function (records) {

                    _(records).each(display);

                });


            $( "#project_form" ).submit(function( event ) {

                var product_id = $( "#project_select" ).val();

                event.preventDefault();

                self.query_product_spec_tree(product_id);

            });


        },

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
birž. 18
6344
1
geg. 21
3220
2
geg. 20
9837
1
saus. 20
5076
0
kov. 19
3405