From 8d3321e2fb7dfcc439e36fda11b11740572e8db6 Mon Sep 17 00:00:00 2001 From: ChangHyun Lee Date: Thu, 6 Apr 2017 14:41:02 +0900 Subject: [PATCH] [TIC-Web] fix the error page and disable filter - fix the error page in nginx - disable filter in packages page Change-Id: I8a1f79425c23cd0f1f45bb881208dcdcf444651c Signed-off-by: ChangHyun Lee --- post_script/www/404.html | 2 +- post_script/www/406.html | 6 +++--- post_script/www/502.html | 2 +- public/src/js/page/package.js | 8 +++++--- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/post_script/www/404.html b/post_script/www/404.html index 78216e8..fbf75b1 100644 --- a/post_script/www/404.html +++ b/post_script/www/404.html @@ -1,4 +1,4 @@ - + diff --git a/post_script/www/406.html b/post_script/www/406.html index d5938ed..75bd690 100644 --- a/post_script/www/406.html +++ b/post_script/www/406.html @@ -1,4 +1,4 @@ - + @@ -14,8 +14,8 @@
-

Browser Not Supported Error 406

-

The TIC web-service currently supports chrome web browser only.

+

Your browser is not supported Error 406

+

The TIC web-service currently supports Chrome web browser only.

diff --git a/post_script/www/502.html b/post_script/www/502.html index 51cd491..1c15f79 100644 --- a/post_script/www/502.html +++ b/post_script/www/502.html @@ -1,4 +1,4 @@ - + diff --git a/public/src/js/page/package.js b/public/src/js/page/package.js index 80b2f77..a49beb2 100644 --- a/public/src/js/page/package.js +++ b/public/src/js/page/package.js @@ -1075,6 +1075,7 @@ define([ $tree.treeview({ data: rawData.view, + levels: 1, showIcon: false, showCheckbox: true, onRendered: _onRendered, @@ -1182,9 +1183,10 @@ define([ } _filter([$('#tic-package-toolbar-input').val()]); } - $("#tic-package-toolbar-debug").on('click', _filterType); - $("#tic-package-toolbar-devel").on('click', _filterType); - $("#tic-package-toolbar-source").on('click', _filterType); + // FIXME: bug for tree is not folding + // $("#tic-package-toolbar-debug").on('click', _filterType); + // $("#tic-package-toolbar-devel").on('click', _filterType); + // $("#tic-package-toolbar-source").on('click', _filterType); function _collapseAll() { $tree.treeview('collapseAll'); -- 2.7.4