Commit 7638a32b authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix, annulation de la requète en cas de saisie 'rapide'

parent e9c517cf
Loading
Loading
Loading
Loading
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −2
Changes for public/js/oscar/src/PersonAutoCompleter.vue: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -45,9 +45,8 @@
            search(){
                this.loading = true;

                this.request = this.$http.get(this.url +this.expression, {
                this.$http.get(this.url +this.expression, {
                    before( r ){
                        console.log("Before", r);
                        if( this.request ){
                            this.request.abort();
                        }