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()">
|
<form class="om-searchbar" @submit.prevent="search()">
|
||||||
<b-field>
|
<b-field>
|
||||||
<b-autocomplete
|
<b-autocomplete
|
||||||
id="searchtext"
|
|
||||||
rounded
|
rounded
|
||||||
v-model="searchtext"
|
v-model="searchtext"
|
||||||
@keydown.native.enter="search"
|
@keydown.native.enter="search"
|
||||||
@ -129,7 +128,6 @@
|
|||||||
@typing="getFilteredTags"
|
@typing="getFilteredTags"
|
||||||
@input="saveTagsToArray">
|
@input="saveTagsToArray">
|
||||||
</b-taginput>-->
|
</b-taginput>-->
|
||||||
<button @click="clear">x</button>
|
|
||||||
</b-field>
|
</b-field>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@ -213,9 +211,8 @@
|
|||||||
router,
|
router,
|
||||||
el: '#api',
|
el: '#api',
|
||||||
data: function() {
|
data: function() {
|
||||||
return {
|
return{
|
||||||
searchtext: "",
|
searchtext: "",
|
||||||
isSearchActiv: false,
|
|
||||||
selected: [],
|
selected: [],
|
||||||
taglist: dat,
|
taglist: dat,
|
||||||
};
|
};
|
||||||
@ -232,7 +229,6 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
search: function() {
|
search: function() {
|
||||||
this.isSearchActiv = true;
|
|
||||||
console.log("Searchtext: " +this.searchtext.replace(/#/g,''));
|
console.log("Searchtext: " +this.searchtext.replace(/#/g,''));
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "api/msg/search/" + this.searchtext.replace(/#/g, ''),
|
url: "api/msg/search/" + this.searchtext.replace(/#/g, ''),
|
||||||
@ -279,15 +275,7 @@
|
|||||||
}).fail(function (e, f, g) {
|
}).fail(function (e, f, g) {
|
||||||
console.log("err: " + e + f + g);
|
console.log("err: " + e + f + g);
|
||||||
});
|
});
|
||||||
},
|
}
|
||||||
|
|
||||||
clear: function() {
|
|
||||||
console.log("clear");
|
|
||||||
|
|
||||||
this.isSearchActiv = false;
|
|
||||||
this.searchtext = "";
|
|
||||||
listMessages();
|
|
||||||
},
|
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user