From: Bianca Carvalho <bianca(a)linux.vnet.ibm.com>
Changed parseTabs function in wok.main.js file to replace whitespaces
in the tab's name to raw character, doing that it will be possible to
use more than one word in tab's name.
Signed-off-by: Bianca Carvalho <bianca(a)linux.vnet.ibm.com>
---
ui/js/src/wok.main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/wok.main.js b/ui/js/src/wok.main.js
index 8e986f7..658974a 100644
--- a/ui/js/src/wok.main.js
+++ b/ui/js/src/wok.main.js
@@ -82,7 +82,7 @@ wok.main = function() {
var parseTabs = function(plugin, xmlData) {
var tabs = [];
var funcNode = $(xmlData).find('functionality');
- var functionality = funcNode.text();
+ var functionality = funcNode.text().split(' ').join('\xa0');
var colorTab1 = funcNode.attr('colorTab1');
var colorTab2 = funcNode.attr('colorTab2');
wok.pluginsColor[plugin] = colorTab2;
--
2.9.3