From ca34298cf2eed9dd378199db6ea652c61caaec20 Mon Sep 17 00:00:00 2001 From: ronggang Date: Mon, 13 Oct 2014 09:09:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=8D=E5=AD=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E7=9A=84BUG?= =?UTF-8?q?=EF=BC=8Cfixed=20#1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed #1 修复种子列表无法显示的BUG,内容仅更新index.html及torrent-attribute.html两个文件,其他文件为本地目录调整引起的更新 --- .gitignore | 1 + index.html | 2 +- tr-web-control/template/torrent-attribute.html | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7217712 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_SYNCAPP/metadata.xml \ No newline at end of file diff --git a/index.html b/index.html index 164fa61..f6d555e 100644 --- a/index.html +++ b/index.html @@ -114,7 +114,7 @@
-
+
diff --git a/tr-web-control/template/torrent-attribute.html b/tr-web-control/template/torrent-attribute.html index e6a3aeb..4b67d2d 100644 --- a/tr-web-control/template/torrent-attribute.html +++ b/tr-web-control/template/torrent-attribute.html @@ -220,7 +220,7 @@ // 初始化文件显示列表 var filelist = $("").attr("class","torrent-list").attr("id","torrent-files-table").appendTo(thisLayout.find("#torrent-attribute-files")); - $.get("template/torrent-attribute-files-fields.json?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/torrent-attribute-files-fields.json?time="+(new Date()),function(data){ var fields = data.fields; var config = data.config; @@ -382,7 +382,7 @@ // 服务器列表 var serverlist = $("
").attr("class","torrent-list").attr("id","torrent-servers-table").appendTo(thisLayout.find("#torrent-attribute-servers")); - $.get("template/torrent-attribute-servers-fields.json?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/torrent-attribute-servers-fields.json?time="+(new Date()),function(data){ var fields = data.fields; var config = data.config; @@ -506,7 +506,7 @@ // 用户列表 var peerslist = $("
").attr("class","torrent-list").attr("id","torrent-peers-table").appendTo(thisLayout.find("#torrent-attribute-peers")); - $.get("template/torrent-attribute-users-fields.json?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/torrent-attribute-users-fields.json?time="+(new Date()),function(data){ var fields = data.fields; var config = data.config; @@ -547,7 +547,7 @@ modal: true }); - $.get("template/dialog-torrent-changeDownloadDir.html?time="+(new Date()),function(data){ + $.get(system.rootPath+"template/dialog-torrent-changeDownloadDir.html?time="+(new Date()),function(data){ system.templates["dialog-torrent-changeDownloadDir.html"] = data; $("#dialog-torrent-changeDownloadDir").data("ids",system.currentTorrentId); $("#dialog-torrent-changeDownloadDir").dialog({content:data});