修复种子列表无法显示的BUG,fixed #1

fixed #1

修复种子列表无法显示的BUG,内容仅更新index.html及torrent-attribute.html两个文件,其他文件为本地目录调整引起的更新
This commit is contained in:
ronggang 2014-10-13 09:09:15 +08:00
parent 80fddd0d9a
commit ca34298cf2
3 changed files with 6 additions and 5 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_SYNCAPP/metadata.xml

View File

@ -114,7 +114,7 @@
<div id="m_body" title="." data-options="region:'center',border:0" >
<div id="layout_body" class="easyui-layout" data-options="fit:true">
<div id="m_list" data-options="region:'center',border:0"></div>
<div id="m_attribute" title="attribute" data-options="region:'south',split:true,border:0,collapsed:true,href:'template/torrent-attribute.html',cache:true"></div>
<div id="m_attribute" title="attribute" data-options="region:'south',split:true,border:0,collapsed:true,href:'tr-web-control/template/torrent-attribute.html',cache:true"></div>
</div>
</div>
<div id="m_statusbar" data-options="region:'south'">

View File

@ -220,7 +220,7 @@
// 初始化文件显示列表
var filelist = $("<table/>").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 = $("<table/>").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 = $("<table/>").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});