From 4d4145aac4fd8fb9564ec082bf11c076143e1ce5 Mon Sep 17 00:00:00 2001 From: Darren Date: Fri, 5 Apr 2013 21:49:31 +0100 Subject: [PATCH] isQuery() method on model_panel --- client/assets/dev/model_panel.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/assets/dev/model_panel.js b/client/assets/dev/model_panel.js index 34ed746..158052e 100644 --- a/client/assets/dev/model_panel.js +++ b/client/assets/dev/model_panel.js @@ -103,6 +103,14 @@ _kiwi.model.Panel = Backbone.Model.extend({ return (channel_prefix.indexOf(this_name[0]) > -1); }, + isQuery: function () { + if (!this.isChannel() && !this.isApplet() && !this.isServer()) { + return true; + } + + return false; + }, + isApplet: function () { return this.applet ? true : false; }, -- 2.25.1