[Kimchi-devel] [PATCH] Page not found error handling for tab-ext.xml
atreyee at linux.vnet.ibm.com
atreyee at linux.vnet.ibm.com
Mon Dec 14 03:38:34 UTC 2015
From: Atreyee Mukhopadhyay <atreyee at 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
More information about the Kimchi-devel
mailing list