diff --git a/static/app/soft.js b/static/app/soft.js index aea60c6e5..da5d12644 100755 --- a/static/app/soft.js +++ b/static/app/soft.js @@ -17,7 +17,7 @@ function softMain(name, version) { layer.open({ type: 1, area: '640px', - title: name + "管理", + title: name + '-' + version + "管理", closeBtn: 2, shift: 0, content: rdata @@ -25,6 +25,9 @@ function softMain(name, version) { $(".bt-w-menu p").click(function() { $(this).addClass("bgw").siblings().removeClass("bgw"); }); + + //version to + $(".current_plugin_version").attr('version',version).hide(); }); } @@ -143,7 +146,7 @@ function getSList(isdisplay) { var mupdate = '';//(plugin.versions[n] == plugin.updates[n]) '' : '更新 | '; // if (plugin.versions[n] == '') mupdate = ''; - handle = mupdate + '设置 | 卸载'; + handle = mupdate + '设置 | 卸载'; titleClick = 'onclick="softMain(\'' + plugin.name + '\',\'' + version_info + '\')" style="cursor:pointer"'; softPath = '';