From 7dc275e1e56202dc8d3232dd2b890b2be2ebfe4c Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Sun, 11 Feb 2018 11:50:15 +0100 Subject: [PATCH] fix fileview status --- src/core/tags/afx-file-view.js | 3 ++- src/packages/MarkOn/package.json | 2 +- src/packages/wTerm/package.json | 2 +- src/themes/antos/afx-file-view.css | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core/tags/afx-file-view.js b/src/core/tags/afx-file-view.js index 6ed984c..9f832d8 100644 --- a/src/core/tags/afx-file-view.js +++ b/src/core/tags/afx-file-view.js @@ -191,7 +191,8 @@ self.selectedFile = e.data if(self.onfileselect) self.onfileselect(e.data) - $(self.refs.stbar).html("Selected: " + e.data.filename + " (" + e.data.size + " bytes)") + $(self.refs.stbar).empty() + $(self.refs.stbar).append($("").append("Selected: " + e.data.filename + " (" + e.data.size + " bytes)"))//.html() }) self.root.observable.on("filedbclick", function(e){ if(e.id != self.rid ) return diff --git a/src/packages/MarkOn/package.json b/src/packages/MarkOn/package.json index c07d745..18cf73a 100644 --- a/src/packages/MarkOn/package.json +++ b/src/packages/MarkOn/package.json @@ -1,6 +1,6 @@ { "app":"MarkOn", - "name":"Mardown editor", + "name":"Markdown editor", "description":"Simple markdown editor", "info":{ "author": "Xuan Sang LE", diff --git a/src/packages/wTerm/package.json b/src/packages/wTerm/package.json index 85ec2ce..08d86cc 100644 --- a/src/packages/wTerm/package.json +++ b/src/packages/wTerm/package.json @@ -1,6 +1,6 @@ { "app":"wTerm", - "name":"Unix terminal like", + "name":"Terminal", "description":"Access Unix terminal from web", "info":{ "author": "Xuan Sang LE", diff --git a/src/themes/antos/afx-file-view.css b/src/themes/antos/afx-file-view.css index 4586f9f..98daa25 100644 --- a/src/themes/antos/afx-file-view.css +++ b/src/themes/antos/afx-file-view.css @@ -10,6 +10,7 @@ afx-file-view div.status{ height: 15px; background-color: #f6F6F6; border-top: 1px solid #cbcbcb; + color:#414339; } afx-file-view afx-list-view li{ float:left;