From: Atreyee Mukhopadhyay <atreyee(a)linux.vnet.ibm.com>
*** BLURB HERE ***
Atreyee Mukhopadhyay (1):
Page not found error handling for tab-ext.xml
ui/js/src/wok.main.js | 5 +++++
1 file changed, 5 insertions(+)
--
2.1.0
Show replies by date
From: Atreyee Mukhopadhyay <atreyee(a)linux.vnet.ibm.com>
Changes for handling page not found error of tab-ext.xml for
plugins not having UI tabs.
---
ui/js/src/wok.main.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ui/js/src/wok.main.js b/ui/js/src/wok.main.js
index e672259..3cb715c 100644
--- a/ui/js/src/wok.main.js
+++ b/ui/js/src/wok.main.js
@@ -97,6 +97,11 @@ wok.main = function() {
async : false,
success : function(xmlData) {
tabs = parseTabs(xmlData);
+ },
+ statusCode : {
+ 404:function(){
+ return tabs;
+ }
}
});
return tabs;
--
2.1.0
Applied. Thanks.
Regards,
Aline Manera