From 9e90a1ac56f40d6b739aabb608a782d34b2f0cc9 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 5 Jul 2013 13:37:11 +0200 Subject: [PATCH] - yweb: don't add undefined info urls to extentions page --- src/nhttpd/web/Y_Ext_Update.js | 9 ++++++--- src/nhttpd/web/Y_Version.txt | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/nhttpd/web/Y_Ext_Update.js b/src/nhttpd/web/Y_Ext_Update.js index 53ace0604..0a212f0e3 100644 --- a/src/nhttpd/web/Y_Ext_Update.js +++ b/src/nhttpd/web/Y_Ext_Update.js @@ -45,7 +45,7 @@ function update_list_addRow(_body, i, your_version, ext_item) var mycurrent_row = y_add_row_to_table(_body, ((i % 2) ==0)?"a":"b" ); var check=''; - var info=""; + var info=" "; var etype=""; switch (ext.upd_version){ @@ -56,7 +56,8 @@ function update_list_addRow(_body, i, your_version, ext_item) var yweb_version=ext_item.get('yweb_version'); if (!yweb.require(yweb_version)) check = ""; - info=""; + if (typeof(ext_item.get('info_url')) != 'undefined') + info=""; break; } switch(ext_item.get('type')){ @@ -180,7 +181,9 @@ function uninstall_list_addRow(_body, i, ext_item, has_uninstall) // var check=''; var etype=""; - var info=""; + var info=" "; + if (typeof(ext_item.get('info_url')) != 'undefined') + info=""; var uninst=""; if(!has_uninstall) uninst=" "; switch(ext_item.get('type')){ diff --git a/src/nhttpd/web/Y_Version.txt b/src/nhttpd/web/Y_Version.txt index 2090f5078..21f61c8ad 100644 --- a/src/nhttpd/web/Y_Version.txt +++ b/src/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.37 +version=2.8.0.38 date=05.07.2013 type=Release info=Port CST