Compare commits
No commits in common. "10f349b948f7065b6bc6c5445e19d2086e47ee6e" and "45315d7c47152f841c9f6b983361e202f95912bf" have entirely different histories.
10f349b948
...
45315d7c47
@ -101,7 +101,6 @@
|
||||
<form class="om-searchbar" @submit.prevent="search()">
|
||||
<b-field>
|
||||
<b-autocomplete
|
||||
id="searchtext"
|
||||
rounded
|
||||
v-model="searchtext"
|
||||
@keydown.native.enter="search"
|
||||
@ -129,7 +128,6 @@
|
||||
@typing="getFilteredTags"
|
||||
@input="saveTagsToArray">
|
||||
</b-taginput>-->
|
||||
<button @click="clear">x</button>
|
||||
</b-field>
|
||||
</form>
|
||||
</div>
|
||||
@ -215,7 +213,6 @@
|
||||
data: function() {
|
||||
return{
|
||||
searchtext: "",
|
||||
isSearchActiv: false,
|
||||
selected: [],
|
||||
taglist: dat,
|
||||
};
|
||||
@ -232,7 +229,6 @@
|
||||
},
|
||||
methods: {
|
||||
search: function() {
|
||||
this.isSearchActiv = true;
|
||||
console.log("Searchtext: " +this.searchtext.replace(/#/g,''));
|
||||
$.ajax({
|
||||
url: "api/msg/search/" + this.searchtext.replace(/#/g, ''),
|
||||
@ -279,15 +275,7 @@
|
||||
}).fail(function (e, f, g) {
|
||||
console.log("err: " + e + f + g);
|
||||
});
|
||||
},
|
||||
|
||||
clear: function() {
|
||||
console.log("clear");
|
||||
|
||||
this.isSearchActiv = false;
|
||||
this.searchtext = "";
|
||||
listMessages();
|
||||
},
|
||||
}
|
||||
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user