From 5d7f6c7fb453d20d08df4e92b15a04e1576883ad Mon Sep 17 00:00:00 2001 From: Leslie Date: Fri, 13 Jun 2014 13:20:55 +0800 Subject: [PATCH] add test case for gridx/module/Toolbar --- modules/Bar.js | 2 +- tests/test_grid_bar.html | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/Bar.js b/modules/Bar.js index 3a19e154c..d3ba18523 100644 --- a/modules/Bar.js +++ b/modules/Bar.js @@ -319,7 +319,7 @@ define([ }, _doBlur: function(node, evt, step){ - var elems = window.a11y._getTabNavigable(node), + var elems = a11y._getTabNavigable(node), first = elems.first, last = elems.last, result; diff --git a/tests/test_grid_bar.html b/tests/test_grid_bar.html index 0c037cd3a..b3303249e 100644 --- a/tests/test_grid_bar.html +++ b/tests/test_grid_bar.html @@ -99,5 +99,17 @@

SummaryBar as a module

"gridx/modules/SummaryBar" ] '> +

Empty Toolbar

+