app/views/admin/forms/_form.html.haml in activeadmin-selleo-cms-0.0.51 vs app/views/admin/forms/_form.html.haml in activeadmin-selleo-cms-0.0.52

- old
+ new

@@ -22,11 +22,11 @@ update: function(event, ui) { sort(); }, receive:function (event, ui) { - $('#question_container').load("#{new_admin_form_form_question_url(@form)}?question_type="+$(ui.helper).attr("data-qtype")).dialog({modal:true, closeOnEscape: false}); + $('#question_container').load("#{new_admin_form_form_question_url(@form)}?question_type="+$(ui.helper).attr("data-qtype")).dialog({modal:true, closeOnEscape: false, width: 800}); } }).disableSelection(); $("li.draggable_question_type").draggable({ connectToSortable:"ol.form_questions_container", @@ -44,7 +44,7 @@ if(confirm("Are you sure?")) $.ajax({url: "/admin/forms/#{@form.id}/form_questions/" + id, type: "DELETE"}); } function editQuestion(id){ - $('#question_container').load("/admin/forms/#{@form.id}/form_questions/" + id + "/edit").dialog({modal:true, closeOnEscape: false}); + $('#question_container').load("/admin/forms/#{@form.id}/form_questions/" + id + "/edit").dialog({modal:true, closeOnEscape: false, width: 800}); } \ No newline at end of file