1.4.5.2
This commit is contained in:
14
EdgeAdmin/web/views/@default/servers/serverNamesPopup.js
Normal file
14
EdgeAdmin/web/views/@default/servers/serverNamesPopup.js
Normal file
@@ -0,0 +1,14 @@
|
||||
Tea.context(function () {
|
||||
let allServerNames = this.serverNames.$copy();
|
||||
|
||||
this.keyword = ""
|
||||
|
||||
this.$delay(function () {
|
||||
let that = this
|
||||
this.$watch("keyword", function (keyword) {
|
||||
that.serverNames = allServerNames.$findAll(function (k, serverName) {
|
||||
return teaweb.match(serverName, keyword)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user