mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhemweb.js: change formatting fo version (Forum #48362)
git-svn-id: https://svn.fhem.de/fhem/trunk@13590 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c25d5574cd
commit
4867ab6d78
@ -253,9 +253,9 @@ FW_showVersion(val)
|
||||
for(var i1=0; i1<list.length; i1++) {
|
||||
var ma = /\$Id: ([^ ]*) (.*) \$/.exec(FW_version[list[i1]]);
|
||||
if(ma) {
|
||||
if(ma[1].length < 18)
|
||||
ma[1] = (ma[1]+" ").substr(0,18);
|
||||
data += "\n"+ma[1]+" "+ma[2];
|
||||
if(ma[1].length < 26)
|
||||
ma[1] = (ma[1]+" ").substr(0,26);
|
||||
data += "\n"+ma[1]+" "+ma[2];
|
||||
}
|
||||
}
|
||||
FW_okDialog('<pre>'+data+'</pre>');
|
||||
|
Loading…
Reference in New Issue
Block a user