Commit 01fc3ee0 authored by Liang Ding's avatar Liang Ding

.

parent eb568c30
......@@ -258,7 +258,7 @@ $.extend(Admin.prototype, {
});
var admin = new Admin();/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -357,7 +357,7 @@ admin.editors.articleEditor = {};
admin.editors.abstractEditor = {};
admin.editors.pageEditor = {};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -482,7 +482,7 @@ admin.editors.tinyMCE = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -587,7 +587,7 @@ admin.editors.KindEditor = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -765,7 +765,7 @@ admin.editors.CodeMirror = {
$(".markdown-preivew").remove();
}
};/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -879,7 +879,7 @@ $.extend(TablePaginate.prototype, {
}
});
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -893,13 +893,12 @@ $.extend(TablePaginate.prototype, {
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @fileoverview article for admin
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.4.3, Dec 24, 2015
* @version 1.2.4.4, Jan 7, 2016
*/
admin.article = {
currentEditorType: '',
......@@ -1368,10 +1367,8 @@ admin.article = {
return;
}
var t = new Date().getTime();
$('#articleUpload').after('<div id="uploadContent"><a target="_blank" href="http://' + qiniu.qiniuDomain + qiniuKey + '?' + t
+ '">[' + data.files[0].name + ']</a> http://'
+ qiniu.qiniuDomain + qiniuKey + '?' + t + '</div>');
$('#articleUpload').after('<div id="uploadContent"><a target="_blank" href="http://' + qiniu.qiniuDomain + qiniuKey + '">[' + data.files[0].name + ']</a> http://'
+ qiniu.qiniuDomain + qiniuKey + '</div>');
},
fail: function (e, data) {
alert("Upload error: " + data.errorThrown);
......@@ -1563,7 +1560,7 @@ admin.register.article = {
$("#tipMsg").text("");
}
};/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -1693,7 +1690,7 @@ admin.comment = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -1842,7 +1839,7 @@ admin.register["article-list"] = {
"init": admin.articleList.init,
"refresh": admin.articleList.getList
}/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -1955,7 +1952,7 @@ admin.register["draft-list"] = {
"init": admin.draftList.init,
"refresh": admin.draftList.getList
};/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -2402,7 +2399,7 @@ admin.register["page-list"] = {
"refresh": admin.pageList.getList
}
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -2529,7 +2526,7 @@ admin.register.others = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -2879,7 +2876,7 @@ admin.register["link-list"] = {
"init": admin.linkList.init,
"refresh": admin.linkList.getList
}/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -3183,7 +3180,7 @@ admin.register["preference"] = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -3359,7 +3356,7 @@ admin.register["plugin-list"] = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -3722,7 +3719,7 @@ admin.register["user-list"] = {
admin.clearTip();
}
}/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -3872,7 +3869,7 @@ admin.register["comment-list"] = {
"init": admin.commentList.init,
"refresh": admin.commentList.getList
}/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -4006,7 +4003,7 @@ admin.plugin = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -4044,7 +4041,7 @@ admin.register.main = {
}
};
/*
* Copyright (c) 2010-2015, b3log.org
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment