From 98d43b5d23a8c44803b259eaa0ffb54091c2b4e4 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 8 Dec 2018 17:07:51 +0800 Subject: [PATCH] Update soft.js --- static/app/soft.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 = '';