From 1c1df558f7fb8415cbac112c5f4118e43584e00e Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Fri, 16 Mar 2018 14:17:24 +0100 Subject: [PATCH] [Fix] Fixed broken search on navigation --- strolch-wc-inspector-objects.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/strolch-wc-inspector-objects.html b/strolch-wc-inspector-objects.html index fcb8b90..9e253fa 100644 --- a/strolch-wc-inspector-objects.html +++ b/strolch-wc-inspector-objects.html @@ -259,7 +259,7 @@ type: String, value: './' }, - dlgTitle : { + dlgTitle: { type: String }, realm: { @@ -348,9 +348,12 @@ }, observeSearchTerm: function (newValue, oldValue) { - if (this.realm == null || this.objectType == null || this.selectedType == null) return; + if (this.realm == null || this.objectType == null || this.selectedType == null) { + return; + } this.debounce("doSearch", function () { + this.offset = 0; this.reloadTypeDetails(); }, 500); }, @@ -560,7 +563,6 @@ }, reloadTypeDetails: function () { - this.dlgTitle = 'Reload failed'; this._handleAjaxResponse = function (data) { this.set('objects', data.detail.response);