fix fileview status

This commit is contained in:
Xuan Sang LE 2018-02-11 11:50:15 +01:00
parent bc05c1d973
commit 7dc275e1e5
4 changed files with 5 additions and 3 deletions

View File

@ -191,7 +191,8 @@
self.selectedFile = e.data self.selectedFile = e.data
if(self.onfileselect) if(self.onfileselect)
self.onfileselect(e.data) self.onfileselect(e.data)
$(self.refs.stbar).html("Selected: " + e.data.filename + " (" + e.data.size + " bytes)") $(self.refs.stbar).empty()
$(self.refs.stbar).append($("<span>").append("Selected: " + e.data.filename + " (" + e.data.size + " bytes)"))//.html()
}) })
self.root.observable.on("filedbclick", function(e){ self.root.observable.on("filedbclick", function(e){
if(e.id != self.rid ) return if(e.id != self.rid ) return

View File

@ -1,6 +1,6 @@
{ {
"app":"MarkOn", "app":"MarkOn",
"name":"Mardown editor", "name":"Markdown editor",
"description":"Simple markdown editor", "description":"Simple markdown editor",
"info":{ "info":{
"author": "Xuan Sang LE", "author": "Xuan Sang LE",

View File

@ -1,6 +1,6 @@
{ {
"app":"wTerm", "app":"wTerm",
"name":"Unix terminal like", "name":"Terminal",
"description":"Access Unix terminal from web", "description":"Access Unix terminal from web",
"info":{ "info":{
"author": "Xuan Sang LE", "author": "Xuan Sang LE",

View File

@ -10,6 +10,7 @@ afx-file-view div.status{
height: 15px; height: 15px;
background-color: #f6F6F6; background-color: #f6F6F6;
border-top: 1px solid #cbcbcb; border-top: 1px solid #cbcbcb;
color:#414339;
} }
afx-file-view afx-list-view li{ afx-file-view afx-list-view li{
float:left; float:left;