|
|
|
@ -23,6 +23,14 @@
|
|
|
|
|
$("#new_poll_question").html("<%= escape_javascript(render :partial => 'new_mulit') %>");
|
|
|
|
|
$("#poll_questions_title").focus();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//确定按钮
|
|
|
|
|
function add_poll_question(obj)
|
|
|
|
|
{
|
|
|
|
|
var title = $.trim($("#poll_questions_title").val());
|
|
|
|
|
if(title.length == 0){alert("标题不能为空");}else{doc.parent().parent().parent().submit();}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//问卷头
|
|
|
|
|
function pollsCancel(){$("#polls_head_edit").hide();$("#polls_head_show").show();}
|
|
|
|
|
function pollsSubmit(doc){
|
|
|
|
|