Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ys305751572 committed Apr 24, 2016
2 parents e646059 + beffe44 commit 8051c7c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/main/webapp/WEB-INF/jsp/act/add.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<div class="form-group">
<label class="col-sm-2 control-label">活动说明:</label>
<div class="col-sm-6">
<textarea cols="40" rows="8" class="form-control" name="content" id="content">${act.content}</textarea>
<script id="container" name="content" type="text/plain">${act.content}</script>
</div>
</div>
<div class="form-group">
Expand All @@ -105,6 +105,10 @@
<!-- /#wrapper -->

<%@ include file="../inc/footer.jsp" %>
<!-- 配置文件 -->
<script type="text/javascript" src="ueditor1_4_3/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="ueditor1_4_3/ueditor.all.js"></script>
<script>
$('.form_datetime').datetimepicker({
language: 'zh-CN',
Expand Down Expand Up @@ -249,7 +253,6 @@
},
save: function () {
$bluemobi.notify("保存成功", "success");
console.log($("#datetest").val());
if (!$('#productForm').isValid()) {
return false;
}
Expand All @@ -260,11 +263,6 @@
return false;
}
if ($("#content").val() == "" || $("#content").val() == null) {
$bluemobi.notify("活动说明不能为空!", "error");
return false;
}
if ($(".glyphicon-hand-down").length == 0) { // 没有图片的情况
$("#productForm").ajaxSubmit({
dataType: "json",
Expand Down

0 comments on commit 8051c7c

Please sign in to comment.