Skip to Content
Menu
This question has been flagged
2038 Zobrazenia

    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);

            });


        },

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jún 18
6343
1
máj 21
3219
2
máj 20
9836
1
jan 20
5074
0
mar 19
3405