将创建 contest 的页面修改为新的动态加载的方式

This commit is contained in:
virusdefender
2015-08-07 17:13:44 +08:00
parent 1d639d1203
commit b1a935a894
2 changed files with 146 additions and 151 deletions

View File

@@ -2,6 +2,7 @@ require(["jquery", "avalon", "editor", "uploader", "datetimepicker",
"validation"
],
function ($, avalon, editor, uploader) {
avalon.vmodels.add_contest = null;
$("#add-contest-form")
.formValidation({
framework: "bootstrap",