You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/02/16 21:27:03 UTC
[kibble] 03/06: set wargs if defined in widgets.yaml (histogram
changes etc)
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 7872cbb9438e7d75ae54ee278538fd3d1e265d8e
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Feb 16 22:26:19 2018 +0100
set wargs if defined in widgets.yaml (histogram changes etc)
---
ui/js/coffee/pageloader.coffee | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ui/js/coffee/pageloader.coffee b/ui/js/coffee/pageloader.coffee
index 56db581..13cb401 100644
--- a/ui/js/coffee/pageloader.coffee
+++ b/ui/js/coffee/pageloader.coffee
@@ -67,6 +67,10 @@ setupPage = (json, state) ->
if child.eargs
for k, v of child.eargs
widget.args.eargs[k] = v
+ if child.wargs
+ widget.wargs = {}
+ for k, v of child.wargs
+ widget.wargs[k] = v
if child.type not in ['views', 'sourcelist']
widget.args.eargs.quick = 'true'
switch child.type
--
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.